Lintian Fixes - python-sphinxcontrib.apidoc

Ready changes

Merge these changes:

Summary

Diff

diff --git a/debian/changelog b/debian/changelog
index 521b0da..1ab65cd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,16 @@
 python-sphinxcontrib.apidoc (0.3.0-3) UNRELEASED; urgency=medium
 
+  [ Ondřej Nový ]
   * Use debhelper-compat instead of debian/compat.
   * Bump Standards-Version to 4.4.1.
 
+  [ Debian Janitor ]
+  * Bump debhelper from old 10 to 12.
+    + Replace python_distutils buildsystem with pybuild.
+  * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository,
+    Repository-Browse.
+  * Update standards version to 4.5.0, no changes needed.
+
  -- Ondřej Nový <onovy@debian.org>  Thu, 18 Jul 2019 16:36:51 +0200
 
 python-sphinxcontrib.apidoc (0.3.0-2) unstable; urgency=medium
diff --git a/debian/control b/debian/control
index 5dfb810..eb3bc91 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 (= 10),
+ debhelper-compat (= 12),
  dh-python,
  openstack-pkg-tools,
  python3-all,
@@ -14,7 +14,7 @@ Build-Depends:
  python3-sphinx,
 Build-Depends-Indep:
  python3-pytest,
-Standards-Version: 4.4.1
+Standards-Version: 4.5.0
 Vcs-Browser: https://salsa.debian.org/openstack-team/libs/python-sphinxcontrib.apidoc
 Vcs-Git: https://salsa.debian.org/openstack-team/libs/python-sphinxcontrib.apidoc.git
 Homepage: https://github.com/sphinx-contrib/apidoc
diff --git a/debian/rules b/debian/rules
index 4bbe01f..2190cab 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,7 @@ UPSTREAM_GIT := https://github.com/sphinx-contrib/apidoc.git
 include /usr/share/openstack-pkg-tools/pkgos.make
 
 %:
-	dh $@ --buildsystem=python_distutils --with python3
+	dh $@ --buildsystem=pybuild --with python3
 
 override_dh_auto_build:
 	echo "Nothing here..."
@@ -23,5 +23,5 @@ ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
 endif
 
 override_dh_clean:
-	dh_clean -O--buildsystem=python_distutils
+	dh_clean -O--buildsystem=pybuild
 	rm -rf build
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..0b6f701
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,5 @@
+---
+Bug-Database: https://github.com/sphinx-contrib/apidoc/issues
+Bug-Submit: https://github.com/sphinx-contrib/apidoc/issues/new
+Repository: https://github.com/sphinx-contrib/apidoc.git
+Repository-Browse: https://github.com/sphinx-contrib/apidoc

Debdiff

File lists identical (after any substitutions)

No differences were encountered in the control files

Run locally

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

debcheckout python-sphinxcontrib.apidoc
cd python-sphinxcontrib.apidoc
lintian-brush

More details

Full run details