Lintian Fixes - esptool

Ready changes

Summary

Lintian Result

Diff

diff --git a/debian/changelog b/debian/changelog
index ecca626..16d910c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,14 @@
+esptool (2.8+dfsg-2) UNRELEASED; urgency=medium
+
+  * 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-Browse.
+  * Remove unnecessary get-orig-source-target.
+  * Update standards version to 4.6.1, no changes needed.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Sun, 02 Oct 2022 00:24:50 -0000
+
 esptool (2.8+dfsg-1) sid; urgency=medium
 
   * new upstream release
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 323c837..3bc1aa4 100644
--- a/debian/control
+++ b/debian/control
@@ -3,14 +3,14 @@ Section: electronics
 Priority: optional
 Maintainer: Milan Kupcevic <milan@debian.org>
 Build-Depends:
- debhelper (>= 10),
+ debhelper-compat (= 13),
  python3,
  python3-serial,
  python3-pyaes,
  python3-ecdsa,
  discount,
  help2man
-Standards-Version: 4.5.0
+Standards-Version: 4.6.1
 Vcs-Git: https://salsa.debian.org/debian/esptool.git
 Vcs-Browser: https://salsa.debian.org/debian/esptool
 Homepage: https://github.com/espressif/esptool
diff --git a/debian/rules b/debian/rules
index 79cbe54..fa96403 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,7 +8,7 @@ VER ?= $(shell dpkg-parsechangelog --file $(PTH)/changelog \
          | sed -e "s,\(.*\)-.*,\\1," -e "s,.*:,," -e "s,.dfsg[0-9]*,,")
 
 %:
-	dh $@
+	dh $@ --buildsystem=pybuild
 
 override_dh_auto_clean:
 	rm -f *.pyc */*.pyc */*/*.pyc
@@ -67,12 +67,3 @@ override_dh_auto_build:
 
 override_dh_auto_install:
 	:
-
-get-orig-source:
-	uscan --no-conf \
-	  --destdir=$(CURDIR) \
-	  --rename \
-	  --force-download \
-	  --download-version $(VER) \
-	  --check-dirname-level=0 \
-	  $(PTH)
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..7aec9b1
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,4 @@
+---
+Bug-Database: https://github.com/espressif/esptool/issues
+Bug-Submit: https://github.com/espressif/esptool/issues/new
+Repository-Browse: https://github.com/espressif/esptool

Debdiff

File lists identical (after any substitutions)

No differences were encountered in the control files

Run locally

More details

Full run details