Lintian Fixes - python-mujson

Ready changes

Merge these changes:

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

Summary

Diff

diff --git a/debian/changelog b/debian/changelog
index 14c44b2..94c982e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,7 +1,15 @@
 python-mujson (1.4-3) UNRELEASED; urgency=medium
 
+  [ Thomas Goirand ]
   * Fixed debian/watch.
 
+  [ Debian Janitor ]
+  * Trim trailing whitespace.
+  * Bump debhelper from old 11 to 12.
+    + Replace python_distutils buildsystem with pybuild.
+  * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository,
+    Repository-Browse.
+
  -- Thomas Goirand <zigo@debian.org>  Mon, 19 Oct 2020 09:33:22 +0200
 
 python-mujson (1.4-2) unstable; urgency=medium
diff --git a/debian/control b/debian/control
index 5d44666..1553572 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ Priority: optional
 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-setuptools,
diff --git a/debian/rules b/debian/rules
index 9c58280..debec0f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,7 @@ UPSTREAM_GIT := https://github.com/mattgiles/mujson.git
 include /usr/share/openstack-pkg-tools/pkgos.make
 
 %:
-	dh $@ --buildsystem=python_distutils --with python3
+	dh $@ --buildsystem=pybuild --with python3
 
 override_dh_auto_clean:
 	rm -rf build .stestr
@@ -27,6 +27,3 @@ endif
 
 override_dh_auto_test:
 	echo "Do nothing..."
-
-
-
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..2304d3a
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,5 @@
+---
+Bug-Database: https://github.com/mattgiles/mujson/issues
+Bug-Submit: https://github.com/mattgiles/mujson/issues/new
+Repository: https://github.com/mattgiles/mujson.git
+Repository-Browse: https://github.com/mattgiles/mujson

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-mujson
cd python-mujson
lintian-brush

More details

Full run details