Lintian Fixes - python-cursive

Ready changes

Merge these changes:

git pull https://janitor.debian.net/git/python-cursive lintian-fixes/main

Summary

Diff

diff --git a/debian/changelog b/debian/changelog
index 98553b2..21a3c66 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+python-cursive (0.2.2-5) UNRELEASED; urgency=medium
+
+  * Bump debhelper from old 10 to 12.
+    + Replace python_distutils buildsystem with pybuild.
+  * Update standards version to 4.5.0, no changes needed.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Thu, 31 Dec 2020 16:21:29 -0000
+
 python-cursive (0.2.2-4) unstable; urgency=medium
 
   * Uploading to unstable.
diff --git a/debian/control b/debian/control
index c31e211..632bce6 100644
--- a/debian/control
+++ b/debian/control
@@ -6,7 +6,7 @@ Uploaders:
  James Page <james.page@ubuntu.com>,
  Thomas Goirand <zigo@debian.org>,
 Build-Depends:
- debhelper-compat (= 10),
+ debhelper-compat (= 12),
  dh-python,
  openstack-pkg-tools,
  python3-all,
@@ -32,7 +32,7 @@ Build-Depends-Indep:
  python3-testtools,
  subunit,
  testrepository,
-Standards-Version: 4.4.1
+Standards-Version: 4.5.0
 Vcs-Browser: https://salsa.debian.org/openstack-team/libs/python-cursive
 Vcs-Git: https://salsa.debian.org/openstack-team/libs/python-cursive.git
 Homepage: https://opendev.org/x/cursive.git
diff --git a/debian/rules b/debian/rules
index a2f625f..4c23aa7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,7 @@ UPSTREAM_GIT := https://opendev.org/x/cursive.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

Run locally

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

debcheckout python-cursive
cd python-cursive
lintian-brush

More details

Full run details