Lintian Fixes - python-extras

Ready changes

Merge these changes:

git pull https://janitor.debian.net/git/python-extras lintian-fixes/main

Summary

Diff

diff --git a/debian/changelog b/debian/changelog
index 53ee1db..b90f5af 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,13 @@
+python-extras (1.0.0-5) UNRELEASED; urgency=low
+
+  * Bump debhelper from old 9 to 12.
+    + Replace python_distutils buildsystem with pybuild.
+  * Set debhelper-compat version in Build-Depends.
+  * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository,
+    Repository-Browse.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Tue, 14 Jul 2020 22:11:13 -0000
+
 python-extras (1.0.0-4) unstable; urgency=medium
 
   [ Ondřej Nový ]
diff --git a/debian/compat b/debian/compat
deleted file mode 100644
index ec63514..0000000
--- a/debian/compat
+++ /dev/null
@@ -1 +0,0 @@
-9
diff --git a/debian/control b/debian/control
index b313e3d..c2204b9 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 (>= 10),
+ debhelper-compat (= 12),
  dh-python,
  openstack-pkg-tools,
  python3-all,
diff --git a/debian/rules b/debian/rules
index 9d52ffe..b4cb184 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,7 @@ UPSTREAM_GIT := https://github.com/testing-cabal/extras.git
 include /usr/share/openstack-pkg-tools/pkgos.make
 
 %:
-	dh $@ --buildsystem=python_distutils --with python3
+	dh $@ --buildsystem=pybuild --with python3
 
 override_dh_auto_clean:
 	echo "Do nothing..."
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..fbe8aee
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,5 @@
+---
+Bug-Database: https://github.com/testing-cabal/extras/issues
+Bug-Submit: https://github.com/testing-cabal/extras/issues/new
+Repository: https://github.com/testing-cabal/extras.git
+Repository-Browse: https://github.com/testing-cabal/extras

Run locally

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

debcheckout python-extras
cd python-extras
lintian-brush

More details

Full run details