Lintian Fixes - python-xstatic-term.js

Ready changes

Summary

Lintian Result

Diff

diff --git a/debian/changelog b/debian/changelog
index ce52a4b..23a1ad2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+python-xstatic-term.js (0.0.7.0-6) UNRELEASED; urgency=medium
+
+  * Update watch file format version to 4.
+  * Bump debhelper from old 10 to 13.
+    + Replace python_distutils buildsystem with pybuild.
+  * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository-Browse.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Thu, 17 Aug 2023 16:55:56 -0000
+
 python-xstatic-term.js (0.0.7.0-5) unstable; urgency=medium
 
   * Cleans better (Closes: #1046290).
diff --git a/debian/control b/debian/control
index 016bdea..481d910 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 (= 10),
+ debhelper-compat (= 13),
  dh-python,
  openstack-pkg-tools (>= 75~),
  python3-all,
diff --git a/debian/rules b/debian/rules
index d7faad5..9b29810 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,7 @@ UPSTREAM_GIT := https://github.com/takluyver/XStatic-termjs
 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
@@ -19,7 +19,7 @@ override_dh_auto_install:
 	rm -rf $(CURDIR)/debian/python*-xstatic-term.js/usr/lib/python*/dist-packages/xstatic/pkg/termjs/data
 
 override_dh_clean:
-	dh_clean -O--buildsystem=python_distutils
+	dh_clean -O--buildsystem=pybuild
 	rm -rf build
 
 # Commands not to run
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..8f82be1
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,4 @@
+---
+Bug-Database: https://github.com/takluyver/XStatic-termjs/issues
+Bug-Submit: https://github.com/takluyver/XStatic-termjs/issues/new
+Repository-Browse: https://github.com/takluyver/XStatic-termjs
diff --git a/debian/watch b/debian/watch
index d17c63f..b24b478 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,3 +1,2 @@
-version=3
+version=4
 http://pypi.python.org/packages/source/X/XStatic-term.js XStatic-term.js-(.*).tar.gz
-

Debdiff

File lists identical (after any substitutions)

No differences were encountered in the control files

Run locally

More details

Full run details