Lintian Fixes - python-requests-mock

Ready changes

Merge these changes:

Summary

Diff

diff --git a/debian/changelog b/debian/changelog
index bd6fd4c..a46f771 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+python-requests-mock (1.7.0-3) UNRELEASED; urgency=low
+
+  * Bump debhelper from old 10 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, 18 Jul 2020 14:38:28 -0000
+
 python-requests-mock (1.7.0-2) unstable; urgency=medium
 
   * Uploading to unstable.
diff --git a/debian/control b/debian/control
index b17132a..fb58a95 100644
--- a/debian/control
+++ b/debian/control
@@ -6,7 +6,7 @@ Uploaders:
  Thomas Goirand <zigo@debian.org>,
  Corey Bryant <corey.bryant@canonical.com>,
 Build-Depends:
- debhelper-compat (= 10),
+ debhelper-compat (= 12),
  dh-python,
  openstack-pkg-tools (>= 99~),
  python3-all,
diff --git a/debian/rules b/debian/rules
index 1748c95..fa8175d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,7 @@ UPSTREAM_GIT := https://github.com/jamielennox/requests-mock
 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:
 	rm -rf build
@@ -28,4 +28,4 @@ override_dh_sphinxdoc:
 		cat /tmp/sphinx-err* ; \
 		exit 1 ; \
 	fi
-	dh_sphinxdoc -O--buildsystem=python_distutils
+	dh_sphinxdoc -O--buildsystem=pybuild
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..06c38cb
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,5 @@
+---
+Bug-Database: https://github.com/jamielennox/requests-mock/issues
+Bug-Submit: https://github.com/jamielennox/requests-mock/issues/new
+Repository: https://github.com/jamielennox/requests-mock.git
+Repository-Browse: https://github.com/jamielennox/requests-mock

Debdiff

File lists identical (after any substitutions)

No differences were encountered between the control files of package python-requests-mock-doc

No differences were encountered between the control files of package python3-requests-mock

Run locally

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

debcheckout python-requests-mock
cd python-requests-mock
lintian-brush

More details

Full run details