Lintian Fixes - python-crank

Ready changes

Summary

Lintian Result

Diff

diff --git a/debian/changelog b/debian/changelog
index 53e039b..e59e1ff 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,14 @@
+python-crank (0.7.2-7) UNRELEASED; urgency=medium
+
+  * Trim trailing whitespace.
+  * 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.
+  * Update standards version to 4.6.2, no changes needed.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Mon, 03 Jul 2023 14:43:32 -0000
+
 python-crank (0.7.2-6) unstable; urgency=medium
 
   * Standard-Version: 4.6.1.
diff --git a/debian/control b/debian/control
index 14006f8..1d55898 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 (>= 89~),
  python3-all,
@@ -13,7 +13,7 @@ Build-Depends:
 Build-Depends-Indep:
  python3-nose,
  python3-webob,
-Standards-Version: 4.6.1
+Standards-Version: 4.6.2
 Vcs-Browser: https://salsa.debian.org/openstack-team/python/python-crank
 Vcs-Git: https://salsa.debian.org/openstack-team/python/python-crank.git
 Homepage: https://github.com/TurboGears/crank
diff --git a/debian/rules b/debian/rules
index 7fb7ff4..9274b11 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,7 @@ UPSTREAM_GIT := https://github.com/TurboGears/crank.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
@@ -23,4 +23,3 @@ ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
 		PYTHON=python$$pyvers nosetests3 -v ; \
 	done
 endif
-
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..e61a45d
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,4 @@
+---
+Bug-Database: https://github.com/TurboGears/crank/issues
+Bug-Submit: https://github.com/TurboGears/crank/issues/new
+Repository-Browse: https://github.com/TurboGears/crank
diff --git a/debian/watch b/debian/watch
index a3b8131..b94e4b5 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,2 @@
-version=3
+version=4
 https://github.com/TurboGears/crank/tags .*/(\d[\d\.]+)\.tar\.gz

Debdiff

File lists identical (after any substitutions)

No differences were encountered in the control files

Run locally

More details

Full run details