Lintian Fixes - magics-python

Ready changes

Summary

Failed fixers:

See the worker log for details.

Lintian Result

Diff

diff --git a/debian/changelog b/debian/changelog
index bf38402..35329ee 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,7 +1,16 @@
 magics-python (2:1.5.8-2) UNRELEASED; urgency=medium
 
+  [ Alastair McKinstry ]
   * Standards-Version: 4.6.1
 
+  [ Debian Janitor ]
+  * Trim trailing whitespace.
+  * Strip unusual field spacing from debian/control.
+  * Use versioned copyright format URI.
+  * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository-Browse.
+  * Fix broken Vcs URL.
+  * Update standards version to 4.6.2, no changes needed.
+
  -- Alastair McKinstry <mckinstry@debian.org>  Tue, 31 Jan 2023 09:36:34 +0000
 
 magics-python (2:1.5.8-1) unstable; urgency=medium
@@ -25,7 +34,7 @@ magics-python (2:1.5.6-1) unstable; urgency=medium
 
 magics-python (2:1.5.5-1) unstable; urgency=medium
 
-  * New upstream release. 
+  * New upstream release.
   * Switch epoch to individual rather than bundled versions, matching other
     ECMWF packages and practice (e.g match pip practice)
   * Fix d/watch to handle version numbers better
@@ -65,7 +74,7 @@ magics-python (1:1.1.2-1) unstable; urgency=medium
   * New upstream release
   * Use github.com rather than pypy as the homepage
   * Standards-Version: 4.5.0
-  * Use dh-sequence-python3 rather than --with python3 
+  * Use dh-sequence-python3 rather than --with python3
 
  -- Alastair McKinstry <mckinstry@debian.org>  Mon, 16 Mar 2020 08:55:57 +0000
 
diff --git a/debian/control b/debian/control
index 5bafc24..6c1dc26 100644
--- a/debian/control
+++ b/debian/control
@@ -2,22 +2,22 @@ Source: magics-python
 Section: python
 Priority: optional
 Maintainer: Alastair McKinstry <mckinstry@debian.org>
-Build-Depends: debhelper-compat (= 13), 
+Build-Depends: debhelper-compat (= 13),
   dh-sequence-python3,
   libeccodes-dev,
-  python3-dev, 
+  python3-dev,
   python3-setuptools,
   python3-pytest-runner
-Standards-Version: 4.6.1
+Standards-Version: 4.6.2
 Homepage: https://github.com/ecmwf/magics-python
 Vcs-Browser: https://salsa.debian.org:/science-team/magics-python.git
-Vcs-Git: https://salsa.debian.org:/science-team/magics-python.git -b debian/latest
+Vcs-Git: https://salsa.debian.org/science-team/magics-python.git -b debian/latest
 
 Package: python3-magics++
 Architecture: any
-Depends:  libmagplus3v5 , ${misc:Depends}, 
- ${python3:Depends}, 
- python3-simplejson, 
+Depends: libmagplus3v5 , ${misc:Depends},
+ ${python3:Depends},
+ python3-simplejson,
  python3-jinja2
 Description: Python3 support for Magics++
  Magics++ is the latest generation of the ECMWF's Meteorological plotting
diff --git a/debian/copyright b/debian/copyright
index 6e4f7be..391648c 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,4 +1,4 @@
-Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=196
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: magics-python
 Upstream-Source: https://github.com/ecmwf/magics-python
 
diff --git a/debian/rules b/debian/rules
index dc984be..1e01335 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,7 +7,7 @@ export PYBUILD_NAME=magics
 
 # magic debhelper rule
 %:
-	dh $@ --buildsystem=pybuild 
+	dh $@ --buildsystem=pybuild
 
 override_dh_auto_test:
 	@echo bypass test that requiresd pytest-flakes
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..66b4e77
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,4 @@
+---
+Bug-Database: https://github.com/ecmwf/magics-python/issues
+Bug-Submit: https://github.com/ecmwf/magics-python/issues/new
+Repository-Browse: https://github.com/ecmwf/magics-python

Debdiff

File lists identical (after any substitutions)

Control files: lines which differ (wdiff format)

  • Depends: libmagplus3v5, python3-findlibs, python3-numpy, python3:any, python3-simplejson, python3-jinja2

Run locally

More details

Full run details