Lintian Fixes - python-json-pointer

Ready changes

Summary

Lintian Result

Diff

diff --git a/debian/changelog b/debian/changelog
index d2c244d..fa86ef7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,15 @@
+python-json-pointer (2.3-3) UNRELEASED; urgency=medium
+
+  * Update watch file format version to 4.
+  * Bump debhelper from old 11 to 13.
+    + Replace python_distutils buildsystem with pybuild.
+  * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository-Browse.
+  * Update standards version to 4.6.1, no changes needed.
+  * Set upstream metadata fields: Repository.
+  * Update standards version to 4.6.2, no changes needed.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Tue, 27 Sep 2022 14:32:56 -0000
+
 python-json-pointer (2.3-2) unstable; urgency=medium
 
   * Uploading to unstable.
diff --git a/debian/control b/debian/control
index c9d3764..d7f32e1 100644
--- a/debian/control
+++ b/debian/control
@@ -6,13 +6,13 @@ Uploaders:
  Thomas Goirand <zigo@debian.org>,
  Michal Arbet <michal.arbet@ultimum.io>,
 Build-Depends:
- debhelper-compat (= 11),
+ debhelper-compat (= 13),
  dh-python,
  openstack-pkg-tools (>= 99~),
  python3-all,
  python3-setuptools,
  python3-sphinx,
-Standards-Version: 4.5.0
+Standards-Version: 4.6.2
 Vcs-Browser: https://salsa.debian.org/openstack-team/python/python-json-pointer
 Vcs-Git: https://salsa.debian.org/openstack-team/python/python-json-pointer.git
 Homepage: https://github.com/stefankoegl/python-json-pointer
diff --git a/debian/rules b/debian/rules
index 174356f..49e4b91 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,7 @@ UPSTREAM_GIT := https://github.com/stefankoegl/python-json-pointer.git
 include /usr/share/openstack-pkg-tools/pkgos.make
 
 %:
-	dh $@ --buildsystem=python_distutils --with python3,sphinxdoc
+	dh $@ --buildsystem=pybuild --with python3,sphinxdoc
 
 override_dh_auto_clean:
 	rm -rf build .egg-info
@@ -30,5 +30,5 @@ override_dh_python3:
 override_dh_sphinxdoc:
 ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS)))
 	python3 -m sphinx -b html doc $(CURDIR)/debian/python-json-pointer-doc/usr/share/doc/python-json-pointer-doc/html
-	dh_sphinxdoc -O--buildsystem=python_distutils
+	dh_sphinxdoc -O--buildsystem=pybuild
 endif
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..2212019
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,5 @@
+---
+Bug-Database: https://github.com/stefankoegl/python-json-pointer/issues
+Bug-Submit: https://github.com/stefankoegl/python-json-pointer/issues/new
+Repository: https://github.com/stefankoegl/python-json-pointer.git
+Repository-Browse: https://github.com/stefankoegl/python-json-pointer
diff --git a/debian/watch b/debian/watch
index 7a34909..f993d67 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,2 @@
-version=3
+version=4
 https://github.com/stefankoegl/python-json-pointer/tags .*/v(\d[\d\.]+)\.tar\.gz

Debdiff

[The following lists of changes regard files as different if they have different names, permissions or owners.]

Files in second set of .debs but not in first

lrwxrwxrwx  root/root   /usr/share/doc/python-json-pointer-doc/html/_static/_sphinx_javascript_frameworks_compat.js -> ../../../../javascript/sphinxdoc/1.0/_sphinx_javascript_frameworks_compat.js
lrwxrwxrwx  root/root   /usr/share/doc/python-json-pointer-doc/html/_static/sphinx_highlight.js -> ../../../../javascript/sphinxdoc/1.0/sphinx_highlight.js

Control files of package python-json-pointer-doc: lines which differ (wdiff format)

  • Depends: libjs-sphinxdoc (>= 4.3) 5.2)

No differences were encountered between the control files of package python3-json-pointer

Run locally

More details

Full run details