Run of lintian-fixes for python-watcherclient

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

debcheckout python-watcherclient
cd python-watcherclient
lintian-brush

Merge these changes:

Summary

Diff

diff --git a/debian/changelog b/debian/changelog
index 3a75ddc..f965f70 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+python-watcherclient (3.0.0-3) UNRELEASED; urgency=low
+
+  * Bump debhelper from old 10 to 12.
+    + Replace python_distutils buildsystem with pybuild.
+  * Set upstream metadata fields: Repository, Repository-Browse.
+  * Update standards version to 4.5.0, no changes needed.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Sat, 18 Jul 2020 13:48:11 -0000
+
 python-watcherclient (3.0.0-2) unstable; urgency=medium
 
   * Uploading to unstable.
diff --git a/debian/control b/debian/control
index bdb28b0..77f672d 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 (= 10),
+ debhelper-compat (= 12),
  dh-python,
  openstack-pkg-tools,
  python3-all,
@@ -37,7 +37,7 @@ Build-Depends-Indep:
  python3-testtools,
  python3-yaml,
  subunit,
-Standards-Version: 4.4.1
+Standards-Version: 4.5.0
 Vcs-Browser: https://salsa.debian.org/openstack-team/clients/python-watcherclient
 Vcs-Git: https://salsa.debian.org/openstack-team/clients/python-watcherclient.git
 Homepage: https://github.com/openstack/python-watcherclient
diff --git a/debian/rules b/debian/rules
index e1116a6..0282c2f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,7 @@ UPSTREAM_GIT = https://github.com/openstack/python-watcherclient.git
 include /usr/share/openstack-pkg-tools/pkgos.make
 
 %:
-	dh $@ --buildsystem=python_distutils --with python3,sphinxdoc
+	dh $@ --buildsystem=pybuild --with python3,sphinxdoc
 
 export PATH := $(CURDIR)/debian/tmp/usr/bin:$(PATH)
 
@@ -29,7 +29,7 @@ override_dh_auto_test:
 override_dh_sphinxdoc:
 ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS)))
 	python3 -m sphinx -b html doc/source $(CURDIR)/debian/python-watcherclient-doc/usr/share/doc/python-watcherclient-doc/html
-	dh_sphinxdoc -O--buildsystem=python_distutils
+	dh_sphinxdoc -O--buildsystem=pybuild
 endif
 
 override_dh_python3:
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..28cc554
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,3 @@
+---
+Repository: https://github.com/openstack/python-watcherclient.git
+Repository-Browse: https://github.com/openstack/python-watcherclient

Debdiff

File lists identical (after any substitutions)

No differences were encountered between the control files of package python-watcherclient-doc

No differences were encountered between the control files of package python3-watcherclient

Full worker log Full build log