Lintian Fixes - python-etcd3

Ready changes

Summary

Lintian Result

Diff

diff --git a/debian/changelog b/debian/changelog
index 3dd5640..5c800b0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,16 @@
+python-etcd3 (0.12.0-3) UNRELEASED; urgency=medium
+
+  * Trim trailing whitespace.
+  * Use secure copyright file specification URI.
+  * Bump debhelper from old 10 to 13.
+    + Replace python_distutils buildsystem with pybuild.
+  * Set debhelper-compat version in Build-Depends.
+  * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository,
+    Repository-Browse.
+  * Update standards version to 4.6.0, no changes needed.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Tue, 26 Jul 2022 01:09:49 -0000
+
 python-etcd3 (0.12.0-2) unstable; urgency=medium
 
   * Uploading to unstable
diff --git a/debian/compat b/debian/compat
deleted file mode 100644
index f599e28..0000000
--- a/debian/compat
+++ /dev/null
@@ -1 +0,0 @@
-10
diff --git a/debian/control b/debian/control
index 9c78fe0..6c4f8bc 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 (>= 11),
+ debhelper-compat (= 13),
  dh-python,
  openstack-pkg-tools (>= 109~),
  python3-all,
@@ -21,7 +21,7 @@ Build-Depends-Indep:
  python3-six,
  python3-tenacity,
  python3-yaml (>= 5.1),
-Standards-Version: 4.5.0
+Standards-Version: 4.6.0
 Vcs-Browser: https://salsa.debian.org/openstack-team/python/python-etcd3
 Vcs-Git: https://salsa.debian.org/openstack-team/python/python-etcd3.git
 Homepage: https://github.com/kragniz/python-etcd3
diff --git a/debian/copyright b/debian/copyright
index 78c2d03..9fa8082 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,4 +1,4 @@
-Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: etcd3
 Source: https://github.com/kragniz/python-etcd3
 
diff --git a/debian/rules b/debian/rules
index e712a09..1966ec9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,7 @@ UPSTREAM_GIT := https://github.com/kragniz/python-etcd3
 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 .stestr
@@ -34,5 +34,3 @@ ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS)))
 	PYTHONPATH=. python3 -m sphinx -b html docs debian/python-etcd3-doc/usr/share/doc/python-etcd3-doc/html
 	dh_sphinxdoc
 endif
-
-
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..5741082
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,5 @@
+---
+Bug-Database: https://github.com/kragniz/python-etcd3/issues
+Bug-Submit: https://github.com/kragniz/python-etcd3/issues/new
+Repository: https://github.com/kragniz/python-etcd3.git
+Repository-Browse: https://github.com/kragniz/python-etcd3

Debdiff

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

Files in first set of .debs but not in second

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

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

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

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

Run locally

More details

Full run details