Lintian Fixes - python-kafka

Ready changes

Summary

Lintian Result

Diff

diff --git a/debian/changelog b/debian/changelog
index 75d5c64..0a39be3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,14 @@
+python-kafka (2.0.1-3) UNRELEASED; urgency=medium
+
+  * Update watch file format version to 4.
+  * Bump debhelper from old 11 to 13.
+    + Replace python_distutils buildsystem with pybuild.
+  * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository,
+    Repository-Browse.
+  * Update standards version to 4.6.0, no changes needed.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Thu, 01 Sep 2022 02:44:14 -0000
+
 python-kafka (2.0.1-2) unstable; urgency=medium
 
   * Uploading to unstable.
diff --git a/debian/control b/debian/control
index 4665a87..b823608 100644
--- a/debian/control
+++ b/debian/control
@@ -6,7 +6,7 @@ Uploaders:
  Thomas Goirand <zigo@debian.org>,
  Michal Arbet <michal.arbet@ultimum.io>,
 Build-Depends:
- debhelper-compat (= 11),
+ debhelper-compat (= 13),
  dh-python,
  openstack-pkg-tools,
  python3-all,
@@ -23,7 +23,7 @@ Build-Depends-Indep:
  python3-six,
  python3-snappy,
  python3-unittest2,
-Standards-Version: 4.5.0
+Standards-Version: 4.6.0
 Vcs-Browser: https://salsa.debian.org/openstack-team/python/python-kafka
 Vcs-Git: https://salsa.debian.org/openstack-team/python/python-kafka.git
 Homepage: https://github.com/mumrah/kafka-python
diff --git a/debian/rules b/debian/rules
index 08b1b19..74c3857 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,7 @@ UPSTREAM_GIT := https://github.com/mumrah/kafka-python.git
 include /usr/share/openstack-pkg-tools/pkgos.make
 
 %:
-	dh $@ --buildsystem=python_distutils --with python3,sphinxdoc
+	dh $@ --buildsystem=pybuild --with python3,sphinxdoc
 
 override_dh_auto_clean:
 	rm -rf build kafka-python .coverage kafka_python.egg-info
@@ -34,4 +34,4 @@ endif
 override_dh_sphinxdoc:
 	rm -f docs/license.rst
 	PYTHONPATH=. python3 -m sphinx -b html docs debian/python-kafka-doc/usr/share/doc/python-kafka-doc/html
-	dh_sphinxdoc -O--buildsystem=python_distutils
+	dh_sphinxdoc -O--buildsystem=pybuild
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..71598bc
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,5 @@
+---
+Bug-Database: https://github.com/dpkp/kafka-python/issues
+Bug-Submit: https://github.com/dpkp/kafka-python/issues/new
+Repository: https://github.com/dpkp/kafka-python.git
+Repository-Browse: https://github.com/dpkp/kafka-python
diff --git a/debian/watch b/debian/watch
index 685cb2b..cc9a2fe 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,3 +1,2 @@
-version=3
+version=4
 http://pypi.python.org/packages/source/k/kafka-python kafka-python-(.*).tar.gz
-

Run locally

More details

Full run details