Lintian Fixes - python-xstatic-js-yaml

Ready changes

Merge these changes:

Summary

Diff

diff --git a/debian/changelog b/debian/changelog
index 7ca0ea8..5798768 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,16 @@
 python-xstatic-js-yaml (3.8.1.0-2) UNRELEASED; urgency=medium
 
+  [ Ondřej Nový ]
   * d/copyright: Use https protocol in Format field
   * Use debhelper-compat instead of debian/compat.
 
+  [ Debian Janitor ]
+  * Move source package lintian overrides to debian/source.
+  * 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.2.1, no changes needed.
+
  -- Ondřej Nový <onovy@debian.org>  Mon, 01 Oct 2018 09:22:49 +0200
 
 python-xstatic-js-yaml (3.8.1.0-1) unstable; urgency=medium
diff --git a/debian/control b/debian/control
index 775ec49..0f55bd9 100644
--- a/debian/control
+++ b/debian/control
@@ -5,12 +5,12 @@ Maintainer: Debian OpenStack <team+openstack@tracker.debian.org>
 Uploaders:
  Thomas Goirand <zigo@debian.org>,
 Build-Depends:
- debhelper-compat (= 10),
+ debhelper-compat (= 12),
  dh-python,
  openstack-pkg-tools,
  python3-all,
  python3-setuptools,
-Standards-Version: 4.2.0
+Standards-Version: 4.2.1
 Vcs-Browser: https://salsa.debian.org/openstack-team/xstatic/python-xstatic-js-yaml
 Vcs-Git: https://salsa.debian.org/openstack-team/xstatic/python-xstatic-js-yaml.git
 Homepage: https://github.com/openstack/xstatic-js-yaml
diff --git a/debian/rules b/debian/rules
index c74e263..115aef4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,7 @@ UPSTREAM_GIT := https://github.com/openstack/xstatic-js-yaml.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,5 +20,5 @@ override_dh_auto_test:
 	echo "Do nothing..."
 
 override_dh_clean:
-	dh_clean -O--buildsystem=python_distutils
+	dh_clean -O--buildsystem=pybuild
 	rm -rf build
diff --git a/debian/source.lintian-overrides b/debian/source/lintian-overrides
similarity index 100%
rename from debian/source.lintian-overrides
rename to debian/source/lintian-overrides
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..5493d00
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,3 @@
+---
+Repository: https://github.com/openstack/xstatic-js-yaml.git
+Repository-Browse: https://github.com/openstack/xstatic-js-yaml

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-js-yaml
cd python-xstatic-js-yaml
lintian-brush

More details

Full run details