Lintian Fixes - pycson

Ready changes

Merge these changes:

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

Summary

Diff

diff --git a/debian/changelog b/debian/changelog
index fd34097..5048895 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,13 @@
+pycson (0.8-2) UNRELEASED; urgency=medium
+
+  * Trim trailing whitespace.
+  * Bump debhelper from old 10 to 12.
+  * Set debhelper-compat version in Build-Depends.
+  * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository,
+    Repository-Browse.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Wed, 29 Apr 2020 00:01:22 +0000
+
 pycson (0.8-1) unstable; urgency=medium
 
   * add a watch file
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 15bb7ef..8068971 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,7 @@ Source: pycson
 Section: python
 Priority: optional
 Maintainer: Norbert Preining <norbert@preining.info>
-Build-Depends: debhelper (>= 10),
+Build-Depends: debhelper-compat (= 12),
                dh-python,
                python3-all-dev,
                python3-setuptools,
@@ -17,5 +17,5 @@ Package: python3-cson
 Architecture: any
 Depends: ${python3:Depends}, ${misc:Depends}, ${shlibs:Depends}
 Description: python parser for the Coffeescript Object Notation (CSON)
- CoffeeScript-Object-Notation is similar to JSON but used for 
+ CoffeeScript-Object-Notation is similar to JSON but used for
  CoffeeScript objects. This package provides a Python parser for CSON.
diff --git a/debian/rules b/debian/rules
index e444edd..275c591 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,4 +4,3 @@ export PYBUILD_NAME = pycson
 
 %:
 	dh $@ --with python3 --buildsystem=pybuild
-
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..6a4e86d
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,4 @@
+Bug-Database: https://github.com/avakar/pycson/issues
+Bug-Submit: https://github.com/avakar/pycson/issues/new
+Repository: https://github.com/avakar/pycson.git
+Repository-Browse: https://github.com/avakar/pycson

Run locally

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

debcheckout pycson
cd pycson
lintian-brush

More details

Full run details