Run of lintian-fixes for python-calmjs.parse

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

debcheckout python-calmjs.parse
cd python-calmjs.parse
lintian-brush

Merge these changes:

Summary

Diff

diff --git a/debian/changelog b/debian/changelog
index 94bc7ab..038460d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,14 @@
+python-calmjs.parse (1.2.5-3) UNRELEASED; urgency=medium
+
+  * Trim trailing whitespace.
+  * Use secure copyright file specification URI.
+  * Bump debhelper from old 11 to 12.
+    + Replace python_distutils buildsystem with pybuild.
+  * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository,
+    Repository-Browse.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Wed, 18 Nov 2020 02:45:35 -0000
+
 python-calmjs.parse (1.2.5-2) unstable; urgency=medium
 
   * Re-upload source-only.
diff --git a/debian/control b/debian/control
index 5b3a5c5..0a8a848 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 (= 11),
+ debhelper-compat (= 12),
  dh-python,
  openstack-pkg-tools (>= 99~),
  python3-all,
diff --git a/debian/copyright b/debian/copyright
index ddeb049..3565f15 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,4 +1,4 @@
-Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: calmjs.parse
 Source: https://github.com/calmjs/calmjs.parse
 
diff --git a/debian/rules b/debian/rules
index 52d4962..108edd5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,7 @@ UPSTREAM_GIT := https://github.com/calmjs/calmjs.parse.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..aac31e8
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,5 @@
+---
+Bug-Database: https://github.com/calmjs/calmjs.parse/issues
+Bug-Submit: https://github.com/calmjs/calmjs.parse/issues/new
+Repository: https://github.com/calmjs/calmjs.parse.git
+Repository-Browse: https://github.com/calmjs/calmjs.parse

Full worker log Full build log