Lintian Fixes - horizon

Ready changes

Merge these changes:

git pull https://janitor.debian.net/git/horizon lintian-fixes/main

Summary

Diff

diff --git a/debian/changelog b/debian/changelog
index 5c6c11595..816a1dbd0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+horizon (3:18.3.2-3) UNRELEASED; urgency=low
+
+  * Bump debhelper from old 10 to 12.
+    + Replace python_distutils buildsystem with pybuild.
+  * Set upstream metadata fields: Repository, Repository-Browse.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Mon, 22 Jun 2020 03:45:20 -0000
+
 horizon (3:18.3.2-2) unstable; urgency=medium
 
   [ Thomas Goirand ]
diff --git a/debian/control b/debian/control
index 4154841f4..0e5cf2256 100644
--- a/debian/control
+++ b/debian/control
@@ -7,7 +7,7 @@ Uploaders:
  Michal Arbet <michal.arbet@ultimum.io>,
  Ivan Udovichenko <iudovichenko@mirantis.com>,
 Build-Depends:
- debhelper-compat (= 10),
+ debhelper-compat (= 12),
  dh-python,
  openstack-pkg-tools,
  po-debconf,
diff --git a/debian/rules b/debian/rules
index 53181a6a6..b4193be7c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,7 +3,7 @@
 include /usr/share/openstack-pkg-tools/pkgos.make
 
 %:
-	dh $@ --buildsystem=python_distutils --with python3,sphinxdoc
+	dh $@ --buildsystem=pybuild --with python3,sphinxdoc
 
 override_dh_install:
 	echo "Do nothing..."
@@ -102,7 +102,7 @@ override_dh_auto_install:
 override_dh_sphinxdoc:
 ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS)))
 	python3 -m sphinx -b html doc/source debian/horizon-doc/usr/share/doc/horizon-doc/html
-	dh_sphinxdoc -O--buildsystem=python_distutils
+	dh_sphinxdoc -O--buildsystem=pybuild
 endif
 
 override_dh_auto_test:
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 000000000..3a8546b38
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,3 @@
+---
+Repository: https://github.com/openstack/horizon.git
+Repository-Browse: https://github.com/openstack/horizon

Debdiff

File lists identical (after any substitutions)

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

No differences were encountered between the control files of package openstack-dashboard

No differences were encountered between the control files of package openstack-dashboard-apache

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

Run locally

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

debcheckout horizon
cd horizon
lintian-brush

More details

Full run details