Lintian Fixes - python-requests-mock
Ready changes
Summary
- Bump debhelper from old 10 to 13. ( package-uses-old-debhelper-compat-version )
- Set upstream metadata fields: Repository-Browse. ( upstream-metadata-file-is-missing )
Lintian Result
Diff
diff --git a/debian/changelog b/debian/changelog
index c6073a9..5ec9851 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+python-requests-mock (1.9.3-4) UNRELEASED; urgency=medium
+
+ * Bump debhelper from old 10 to 13.
+ + Replace python_distutils buildsystem with pybuild.
+ * Set upstream metadata fields: Repository-Browse.
+
+ -- Debian Janitor <janitor@jelmer.uk> Thu, 17 Aug 2023 23:11:55 -0000
+
python-requests-mock (1.9.3-3) unstable; urgency=medium
* Cleans better (Closes: #1046396).
diff --git a/debian/control b/debian/control
index b8c4608..2bc8f76 100644
--- a/debian/control
+++ b/debian/control
@@ -6,7 +6,7 @@ Uploaders:
Thomas Goirand <zigo@debian.org>,
Corey Bryant <corey.bryant@canonical.com>,
Build-Depends:
- debhelper-compat (= 10),
+ debhelper-compat (= 13),
dh-python,
openstack-pkg-tools (>= 99~),
python3-all,
diff --git a/debian/rules b/debian/rules
index c227d59..7ae498a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,7 @@ UPSTREAM_GIT := https://github.com/jamielennox/requests-mock
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 *.egg-info
@@ -30,4 +30,4 @@ override_dh_sphinxdoc:
cat /tmp/sphinx-err* ; \
exit 1 ; \
fi
- dh_sphinxdoc -O--buildsystem=python_distutils
+ dh_sphinxdoc -O--buildsystem=pybuild
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..c444a3f
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,2 @@
+---
+Repository-Browse: https://github.com/openstack-archive/requests-mock
Debdiff
File lists identical (after any substitutions)
No differences were encountered between the control files of package python-requests-mock-doc
No differences were encountered between the control files of package python3-requests-mock