Run of lintian-fixes for python-octaviaclient

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

debcheckout python-octaviaclient
cd python-octaviaclient
lintian-brush

Merge these changes:

Summary

Diff

diff --git a/debian/changelog b/debian/changelog
index 6a38e69..07a9d00 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,13 @@
+python-octaviaclient (2.0.1-3) UNRELEASED; urgency=low
+
+  * Use secure URI in Homepage field.
+  * Bump debhelper from deprecated 9 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>  Wed, 15 Jul 2020 10:07:39 -0000
+
 python-octaviaclient (2.0.1-2) unstable; urgency=medium
 
   * Uploading to unstable.
diff --git a/debian/control b/debian/control
index b7ba35f..340dd22 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 (= 9),
+ debhelper-compat (= 12),
  dh-python,
  openstack-pkg-tools,
  python3-all,
@@ -30,10 +30,10 @@ Build-Depends-Indep:
  python3-stestr,
  python3-testscenarios,
  subunit,
-Standards-Version: 4.4.1
+Standards-Version: 4.5.0
 Vcs-Browser: https://salsa.debian.org/openstack-team/clients/python-octaviaclient
 Vcs-Git: https://salsa.debian.org/openstack-team/clients/python-octaviaclient.git
-Homepage: http://docs.openstack.org/developer/python-octaviaclient
+Homepage: https://docs.openstack.org/developer/python-octaviaclient
 
 Package: python-octaviaclient-doc
 Section: doc
diff --git a/debian/rules b/debian/rules
index ae14f95..a21aef6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,7 @@ UPSTREAM_GIT := https://github.com/openstack/python-octaviaclient.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
@@ -24,7 +24,7 @@ endif
 override_dh_sphinxdoc:
 ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS)))
 	PYTHONPATH=. python3 -m sphinx -b html doc/source debian/python-octaviaclient-doc/usr/share/doc/python-octaviaclient-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..a35142c
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,3 @@
+---
+Repository: https://github.com/openstack/python-octaviaclient.git
+Repository-Browse: https://github.com/openstack/python-octaviaclient

Full worker log Full build log