Lintian Fixes - python-xstatic-lodash

Ready changes

Merge these changes:

Summary

Diff

diff --git a/debian/changelog b/debian/changelog
index bae7fce..2a086fa 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+python-xstatic-lodash (4.16.4.1-2) UNRELEASED; urgency=medium
+
+  * Bump debhelper from old 11 to 12.
+    + Replace python_distutils buildsystem with pybuild.
+  * Set upstream metadata fields: Bug-Database, Bug-Submit.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Sun, 20 Sep 2020 14:51:29 -0000
+
 python-xstatic-lodash (4.16.4.1-1) unstable; urgency=medium
 
   * Initial release. (Closes: #958974).
diff --git a/debian/control b/debian/control
index 9491caa..d0f4f0b 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,7 @@ Maintainer: Debian OpenStack <team+openstack@tracker.debian.org>
 Uploaders:
  Michal Arbet <michal.arbet@ultimum.io>,
 Build-Depends:
- debhelper-compat (= 11),
+ debhelper-compat (= 12),
  dh-python,
  openstack-pkg-tools (>= 75~),
  python3-all,
diff --git a/debian/rules b/debian/rules
index 5a4c942..fb42adb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,7 +3,7 @@
 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..."
@@ -15,5 +15,5 @@ override_dh_auto_install:
 	pkgos-dh_auto_install --no-py2
 
 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..f3718aa
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,3 @@
+---
+Bug-Database: https://github.com/lodash/lodash/issues
+Bug-Submit: https://github.com/lodash/lodash/issues/new

Run locally

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

debcheckout python-xstatic-lodash
cd python-xstatic-lodash
lintian-brush

More details

Full run details