Lintian Fixes - python-xstatic-hogan

Ready changes

Summary

Lintian Result

Diff

diff --git a/debian/changelog b/debian/changelog
index 6b23ca8..a748ce0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,13 @@
+python-xstatic-hogan (2.0.0.2-5) UNRELEASED; urgency=medium
+
+  * Update watch file format version to 4.
+  * Use secure URI in Homepage field.
+  * Bump debhelper from old 10 to 13.
+    + Replace python_distutils buildsystem with pybuild.
+  * Set upstream metadata fields: Repository-Browse.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Tue, 22 Aug 2023 12:39:32 -0000
+
 python-xstatic-hogan (2.0.0.2-4) unstable; urgency=medium
 
   * Cleans better (Closes: #1049005).
diff --git a/debian/control b/debian/control
index e25383d..40626e9 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 (= 13),
  dh-python,
  openstack-pkg-tools (>= 75~),
  python3-all,
@@ -13,7 +13,7 @@ Build-Depends:
 Standards-Version: 4.1.3
 Vcs-Browser: https://salsa.debian.org/openstack-team/xstatic/python-xstatic-hogan
 Vcs-Git: https://salsa.debian.org/openstack-team/xstatic/python-xstatic-hogan.git
-Homepage: http://twitter.github.io/hogan.js/
+Homepage: https://twitter.github.io/hogan.js/
 
 Package: python3-xstatic-hogan
 Architecture: all
diff --git a/debian/rules b/debian/rules
index b80737b..fdc6ae8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,7 @@ UPSTREAM_GIT := https://github.com/openstack/xstatic-hogan.git
 include /usr/share/openstack-pkg-tools/pkgos.make
 
 %:
-	dh $@ --buildsystem=python_distutils --with python3
+	dh $@ --buildsystem=pybuild --with python3
 
 override_dh_auto_clean:
 	rm -rf build .stestr *.egg-info
@@ -18,5 +18,5 @@ override_dh_auto_install:
 	pkgos-dh_auto_install --no-py2
 
 override_dh_clean:
-	dh_clean -O--buildsystem=python_distutils
+	dh_clean -O--buildsystem=pybuild
 	rm -rf build
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..40a515a
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,2 @@
+---
+Repository-Browse: https://github.com/openstack/xstatic-hogan
diff --git a/debian/watch b/debian/watch
index 98db92f..493c3d1 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,3 +1,2 @@
-version=3
+version=4
 http://pypi.python.org/packages/source/X/XStatic-Hogan XStatic-Hogan-(.*).tar.gz
-

Debdiff

File lists identical (after any substitutions)

Control files: lines which differ (wdiff format)

  • Homepage: http://twitter.github.io/hogan.js/ https://twitter.github.io/hogan.js/

Run locally

More details

Full run details