Lintian Fixes - aiocoap

Ready changes

Merge these changes:

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

Summary

Diff

diff --git a/debian/changelog b/debian/changelog
index 2478038..49f864f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,14 @@
+aiocoap (0.3-4) UNRELEASED; urgency=low
+
+  * Bump debhelper from old 11 to 12.
+  * Set debhelper-compat version in Build-Depends.
+  * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository,
+    Repository-Browse.
+  * Drop deprecated restriction . See
+    https://salsa.debian.org/ci-team/autopkgtest/tree/master/doc/README.package-tests.rst
+
+ -- Debian Janitor <janitor@jelmer.uk>  Wed, 03 Jun 2020 17:07:28 -0000
+
 aiocoap (0.3-3) unstable; urgency=medium
 
   [ Agustin Henze ]
diff --git a/debian/compat b/debian/compat
deleted file mode 100644
index b4de394..0000000
--- a/debian/compat
+++ /dev/null
@@ -1 +0,0 @@
-11
diff --git a/debian/control b/debian/control
index 8c6f53f..b3469f2 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,7 @@ Source: aiocoap
 Section: python
 Priority: optional
 Maintainer: Agustin Henze <tin@debian.org>
-Build-Depends: debhelper (>= 11),
+Build-Depends: debhelper-compat (= 12),
  dh-python,
  python3-all,
  python3-setuptools,
diff --git a/debian/tests/control b/debian/tests/control
index 99e8f70..af78b82 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -2,5 +2,4 @@ Tests: unittest
 Depends:
     @,
     python3-setuptools,
-Restrictions:
-    allow-stderr
+Restrictions: allow-stderr
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..16dbdcb
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,5 @@
+---
+Bug-Database: https://github.com/chrysn/aiocoap/issues
+Bug-Submit: https://github.com/chrysn/aiocoap/issues/new
+Repository: https://github.com/chrysn/aiocoap.git
+Repository-Browse: https://github.com/chrysn/aiocoap

Run locally

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

debcheckout aiocoap
cd aiocoap
lintian-brush

More details

Full run details