Lintian Fixes - python-xstatic-jsencrypt

Ready changes

Merge these changes:

Summary

Diff

diff --git a/debian/changelog b/debian/changelog
index 0d62367..3148c91 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,14 @@
+python-xstatic-jsencrypt (2.3.1.1-5) UNRELEASED; urgency=medium
+
+  * Update watch file format version to 4.
+  * Use secure URI in Homepage field.
+  * 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.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Wed, 13 Jan 2021 02:10:12 -0000
+
 python-xstatic-jsencrypt (2.3.1.1-4) unstable; urgency=medium
 
   [ Ondřej Nový ]
diff --git a/debian/control b/debian/control
index 1ecbd79..735971d 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 (= 10),
+ debhelper-compat (= 12),
  dh-python,
  openstack-pkg-tools (>= 75~),
  python3-all,
@@ -16,7 +16,7 @@ Build-Conflicts:
 Standards-Version: 4.1.3
 Vcs-Browser: https://salsa.debian.org/openstack-team/xstatic/python-xstatic-jsencrypt
 Vcs-Git: https://salsa.debian.org/openstack-team/xstatic/python-xstatic-jsencrypt.git
-Homepage: http://travistidwell.com/jsencrypt/
+Homepage: https://travistidwell.com/jsencrypt/
 
 Package: python3-xstatic-jsencrypt
 Architecture: all
diff --git a/debian/rules b/debian/rules
index 239e173..31ab9e6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,7 @@ UPSTREAM_GIT := https://github.com/openstack/xstatic-jsencrypt.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..."
@@ -17,5 +17,5 @@ override_dh_auto_install:
 	rm -rf $(CURDIR)/debian/python*-xstatic-jsencrypt/usr/lib/python*/dist-packages/xstatic/pkg/jsencrypt/data
 
 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..0c9ccc5
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,3 @@
+---
+Repository: https://github.com/openstack/xstatic-jsencrypt.git
+Repository-Browse: https://github.com/openstack/xstatic-jsencrypt
diff --git a/debian/watch b/debian/watch
index 0319e88..9f27c97 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,3 +1,2 @@
-version=3
+version=4
 http://pypi.python.org/packages/source/X/XStatic-JSEncrypt XStatic-JSEncrypt-(.*).tar.gz
-

Debdiff

File lists identical (after any substitutions)

Control files: lines which differ (wdiff format)

  • Homepage: http://travistidwell.com/jsencrypt/ https://travistidwell.com/jsencrypt/

Run locally

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

debcheckout python-xstatic-jsencrypt
cd python-xstatic-jsencrypt
lintian-brush

More details

Full run details