Lintian Fixes - sphinxcontrib-programoutput

Ready changes

Merge these changes:

Summary

Diff

diff --git a/debian/changelog b/debian/changelog
index 684ad88..4dbc089 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+sphinxcontrib-programoutput (0.16-2) UNRELEASED; urgency=low
+
+  * Bump debhelper from old 11 to 12.
+    + Replace python_distutils buildsystem with pybuild.
+  * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository,
+    Repository-Browse.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Sat, 22 Aug 2020 14:09:26 -0000
+
 sphinxcontrib-programoutput (0.16-1) unstable; urgency=medium
 
   * New upstream release:
diff --git a/debian/control b/debian/control
index dd3e058..f14fb89 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,7 @@ Maintainer: Debian OpenStack <team+openstack@tracker.debian.org>
 Uploaders:
  Thomas Goirand <zigo@debian.org>,
 Build-Depends:
- debhelper-compat (= 11),
+ debhelper-compat (= 12),
  dh-python,
  openstack-pkg-tools (>= 99~),
  python3-all,
diff --git a/debian/rules b/debian/rules
index df341b6..68b0f79 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,7 @@ UPSTREAM_GIT := https://github.com/NextThought/sphinxcontrib-programoutput
 include /usr/share/openstack-pkg-tools/pkgos.make
 
 %:
-	dh $@ --buildsystem=python_distutils --with python3,sphinxdoc
+	dh $@ --buildsystem=pybuild --with python3,sphinxdoc
 
 override_dh_auto_clean:
 	echo "Do nothing..."
@@ -25,5 +25,5 @@ endif
 override_dh_sphinxdoc:
 ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS)))
 	PYTHONPATH=.:$(CURDIR)/src python3 -m sphinx -b html doc $(CURDIR)/debian/python-sphinxcontrib.programoutput-doc/usr/share/doc/python-sphinxcontrib.programoutput-doc/html
-	dh_sphinxdoc -O--buildsystem=python_distutils
+	dh_sphinxdoc -O--buildsystem=pybuild
 endif
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..114baf1
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,5 @@
+---
+Bug-Database: https://github.com/NextThought/sphinxcontrib-programoutput/issues
+Bug-Submit: https://github.com/NextThought/sphinxcontrib-programoutput/issues/new
+Repository: https://github.com/NextThought/sphinxcontrib-programoutput.git
+Repository-Browse: https://github.com/NextThought/sphinxcontrib-programoutput

Debdiff

File lists identical (after any substitutions)

No differences were encountered between the control files of package python-sphinxcontrib.programoutput-doc

No differences were encountered between the control files of package python3-sphinxcontrib.programoutput

Run locally

Try this locally (using the lintian-brush package):

debcheckout sphinxcontrib-programoutput
cd sphinxcontrib-programoutput
lintian-brush

More details

Full run details