Lintian Fixes - python-xstatic-angular-gettext

Ready changes

Merge these changes:

Summary

Diff

diff --git a/debian/changelog b/debian/changelog
index 9a75386..604cd59 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,14 @@
 python-xstatic-angular-gettext (2.3.8.0-4) UNRELEASED; urgency=medium
 
+  [ Ondřej Nový ]
   * d/control: Use team+openstack@tracker.debian.org as maintainer
   * Use debhelper-compat instead of debian/compat.
 
+  [ Debian Janitor ]
+  * Bump debhelper from deprecated 9 to 12.
+    + Replace python_distutils buildsystem with pybuild.
+  * Set upstream metadata fields: Repository, Repository-Browse.
+
  -- Ondřej Nový <onovy@debian.org>  Fri, 03 Aug 2018 06:18:35 +0200
 
 python-xstatic-angular-gettext (2.3.8.0-3) unstable; urgency=medium
diff --git a/debian/control b/debian/control
index b869512..1eadcb9 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 (>= 75~),
  python3-all,
diff --git a/debian/rules b/debian/rules
index a880e70..e40e89f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,7 @@ UPSTREAM_GIT := https://github.com/openstack/xstatic-angular-gettext.git
 include /usr/share/openstack-pkg-tools/pkgos.make
 
 %:
-	dh $@ --buildsystem=python_distutils --with python3
+	dh $@ --buildsystem=pybuild --with python3
 
 override_dh_auto_clean:
 	echo "Do nothing..."
@@ -20,7 +20,7 @@ override_dh_auto_install:
 	done
 
 override_dh_clean:
-	dh_clean -O--buildsystem=python_distutils
+	dh_clean -O--buildsystem=pybuild
 	rm -rf build
 
 # Commands not to run
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..b0c0423
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,3 @@
+---
+Repository: https://github.com/openstack/xstatic-angular-gettext.git
+Repository-Browse: https://github.com/openstack/xstatic-angular-gettext

Debdiff

File lists identical (after any substitutions)

No differences were encountered in the control files

Run locally

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

debcheckout python-xstatic-angular-gettext
cd python-xstatic-angular-gettext
lintian-brush

More details

Full run details