Lintian Fixes - gsw

Ready changes

Merge these changes:

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

Summary

Diff

=== modified file 'debian/changelog'
--- a/debian/changelog	2019-06-13 13:21:13 +0000
+++ b/debian/changelog	2020-06-27 10:23:17 +0000
@@ -1,3 +1,17 @@
+gsw (3.3.1-2) UNRELEASED; urgency=low
+
+  * Trim trailing whitespace.
+  * Strip unusual field spacing from debian/control.
+  * Bump debhelper from old 10 to 12.
+  * Set debhelper-compat version in Build-Depends.
+  * Set upstream metadata fields: Bug-Database, Bug-Submit, Name, Repository,
+    Repository-Browse.
+  * Fix broken Vcs URL.
+  * Fix day-of-week for changelog entry 3.0.2-1.
+  * Update standards version to 4.5.0, no changes needed.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Sat, 27 Jun 2020 10:16:58 -0000
+
 gsw (3.3.1-1) unstable; urgency=medium
 
   * New upstream release
@@ -55,7 +69,7 @@
 gsw (3.0.6-1) experimental; urgency=medium
 
   * New upstream release.
-  * Change Vcs-Git to standard anonscm form 
+  * Change Vcs-Git to standard anonscm form
   * DH_COMPAT=10
   * Standards-Version: 3.9.8. No changes required
 
@@ -65,7 +79,7 @@
 
   * Move to Standards-VersioN: 3.9.6
   * Add new redirect-based watch file.
-  * Add Vcs-Git: debian-science to debian/control 
+  * Add Vcs-Git: debian-science to debian/control
   * Add dh-python to build-depends
 
  -- Alastair McKinstry <mckinstry@debian.org>  Sun, 21 Jun 2015 14:56:37 +0100
@@ -82,23 +96,23 @@
 
 gsw (3.0.2-2) unstable; urgency=low
 
-  * Need to B-D on python-numpy, python3-numpy. Closes: #718136. 
+  * Need to B-D on python-numpy, python3-numpy. Closes: #718136.
 
  -- Alastair McKinstry <mckinstry@debian.org>  Sun, 28 Jul 2013 18:05:08 +0100
 
 gsw (3.0.2-1) unstable; urgency=low
 
-  * New upstream release. 
+  * New upstream release.
   * Move to DH 9.
 
- -- Alastair McKinstry <mckinstry@debian.org>  Fri, 18 Jul 2013 07:26:49 +0100
+ -- Alastair McKinstry <mckinstry@debian.org>  Thu, 18 Jul 2013 07:26:49 +0100
 
 gsw (3.0.1-3) unstable; urgency=low
 
   * Setuptools/distuils causes dpkg to break on upgrade;
     - patch to remove setuptools from setup.py
     - Delete a symlink in python-gsw.preinst to allow upgrades.
-      Closes: #709959. 
+      Closes: #709959.
   * Add X-Python-Version, X-Python3-Version to debian/control.
 
  -- Alastair McKinstry <mckinstry@debian.org>  Wed, 29 May 2013 13:39:32 +0100

=== removed file 'debian/compat'
--- a/debian/compat	2017-04-20 19:51:25 +0000
+++ b/debian/compat	1970-01-01 00:00:00 +0000
@@ -1,1 +0,0 @@
-10

=== modified file 'debian/control'
--- a/debian/control	2019-02-01 11:31:12 +0000
+++ b/debian/control	2020-06-27 10:23:17 +0000
@@ -2,15 +2,15 @@
 Section: python
 Priority: optional
 Maintainer: Alastair McKinstry <mckinstry@debian.org>
-Build-Depends: debhelper (>= 10),
+Build-Depends: debhelper-compat (= 12),
  dh-python,
  python3-all-dev,
  python3-numpy,
  python3-setuptools
-Standards-Version: 4.3.0
-Homepage:  https://pypi.python.org/pypi/gsw/
+Standards-Version: 4.5.0
+Homepage: https://pypi.python.org/pypi/gsw/
 Vcs-Browser: https://salsa.debian.org:/science-team/gsw.git
-Vcs-Git: https://salsa.debian.org:/science-team/gsw.git
+Vcs-Git: https://salsa.debian.org/science-team/gsw.git
 
 Package: python3-gsw
 Architecture: any
@@ -25,4 +25,3 @@
  seawater and ice properties in marine science.
  .
  For further information, see http://www.teos-10.org/
-

=== modified file 'debian/rules'
--- a/debian/rules	2017-09-19 08:13:11 +0000
+++ b/debian/rules	2020-06-27 10:18:58 +0000
@@ -5,7 +5,7 @@
 
 # magic debhelper rule
 %:
-	dh $@ --with python3
+	dh $@ --with python3 --buildsystem=pybuild
 
 override_dh_auto_install:
 	set -e && for py3vers in $(shell py3versions -sv); do \
@@ -15,7 +15,7 @@
 
 override_dh_auto_clean:
 	# dh_auto_clean avoid bug where this calls python, not python3
-	python3 setup.py clean 
+	python3 setup.py clean
 	rm -fr gsw.egg-info
 	rm -fr build __pycache__
 

=== added directory 'debian/upstream'
=== added file 'debian/upstream/metadata'
--- a/debian/upstream/metadata	1970-01-01 00:00:00 +0000
+++ b/debian/upstream/metadata	2020-06-27 10:20:44 +0000
@@ -0,0 +1,6 @@
+---
+Name: gsw
+Bug-Database: https://github.com/TEOS-10/GSW-python/issues
+Bug-Submit: https://github.com/TEOS-10/GSW-python/issues/new
+Repository: https://github.com/TEOS-10/GSW-python.git
+Repository-Browse: https://github.com/TEOS-10/GSW-python

Debdiff

File lists identical (after any substitutions)

No differences were encountered between the control files of package python3-gsw

No differences were encountered between the control files of package python3-gsw-dbgsym

Run locally

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

debcheckout gsw
cd gsw
lintian-brush

More details

Full run details