Lintian Fixes - python-pymzml

Ready changes

Merge these changes:

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

Summary

Diff

diff --git a/debian/changelog b/debian/changelog
index 8b07b83..8ca752a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+python-pymzml (2.4.7-4) UNRELEASED; urgency=low
+
+  * Trim trailing whitespace.
+  * Use secure copyright file specification URI.
+  * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository,
+    Repository-Browse.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Tue, 11 Aug 2020 02:47:54 -0000
+
 python-pymzml (2.4.7-3) unstable; urgency=low
 
   * Fix upgrade testing->sid failure (Closes: #963190). Thanks , Andreas
@@ -7,7 +16,7 @@ python-pymzml (2.4.7-3) unstable; urgency=low
 
 python-pymzml (2.4.7-2) unstable; urgency=low
 
-  * Fix documentation build problem with svg files around 
+  * Fix documentation build problem with svg files around
     (Closes: #962928). This build failure only shows when using sbuild and not
     gbp buildpackage. Apparently, it only shows when the doc-building process
     fails to access the network.
@@ -48,7 +57,7 @@ python-pymzml (20170926-1) unstable; urgency=low
   * Add dependency on python-sphinx-rtd-theme since that package is no
     longer a hard dependency for python-sphinx.
 
-  * Abandon old patch about removing the shebang line from py files since 
+  * Abandon old patch about removing the shebang line from py files since
     upstream implemented my suggestion.
 
  -- Filippo Rusconi <lopippo@debian.org>  Tue, 26 Sep 2017 09:54:13 +0200
@@ -104,11 +113,11 @@ python-pymzml (0.7.6-dfsg-1) unstable; urgency=medium
 python-mzml (0.7.4-dfsg-3) unstable; urgency=medium
 
   * mv upstream upstream/metadata;
-  
+
   * d/control: Canonicalize the VCS uris;
-  
+
   * d/control: set Standards-Version: 3.9.5
-  
+
  -- Filippo Rusconi <lopippo@debian.org>  Wed, 20 Aug 2014 14:18:01 +0200
 
 python-mzml (0.7.4-dfsg-2) unstable; urgency=low
diff --git a/debian/control b/debian/control
index abe37c8..0348e3a 100644
--- a/debian/control
+++ b/debian/control
@@ -17,7 +17,7 @@ Build-Depends-Indep: python3-sphinx-rtd-theme (>= 0.4.3),
  texlive-latex-recommended,
  texlive-fonts-recommended,
  texlive-latex-extra
-Standards-Version: 4.5.0 
+Standards-Version: 4.5.0
 Homepage: https://github.com/pymzml/pymzML
 Vcs-Browser: https://salsa.debian.org/debichem-team/python-pymzml
 Vcs-Git: https://salsa.debian.org/debichem-team/python-pymzml.git
@@ -35,9 +35,9 @@ Conflicts: python-mzml
 Replaces: python-mzml
 Description: mzML mass spectrometric data parsing (Python 3.x)
  python-pymzml is an extension to Python that offers:
-  - easy access to mass spectrometry (MS) data that allows 
+  - easy access to mass spectrometry (MS) data that allows
     the rapid development of tools;
-  - a very fast parser for mzML data, the standard in 
+  - a very fast parser for mzML data, the standard in
     mass spectrometry data format;
   - a set of functions to compare or handle spectra.
  .
@@ -56,12 +56,11 @@ Breaks: python3-pymzml (<< 2.4.7)
 Replaces: python-mzml-doc, python3-pymzml (<< 2.4.7)
 Description: mzML mass spectrometric data parsing - documentation
  python-pymzml is an extension to Python that offers:
-  - easy access to mass spectrometry (MS) data that allows 
+  - easy access to mass spectrometry (MS) data that allows
     the rapid development of tools;
-  - a very fast parser for mzML data, the standard in 
+  - a very fast parser for mzML data, the standard in
     mass spectrometry data format;
   - a set of functions to compare or handle spectra.
  .
  This package contains the documentation in PDF and HTML format,
  along with the text sources (process with sphinx).
-
diff --git a/debian/copyright b/debian/copyright
index 360ada5..5415f07 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,4 +1,4 @@
-Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: pymzML
 Upstream-Contact: Dr. Christian Fufezan (christian@fufezan.net)
 Source: http://pymzml.github.com/dist/pymzml.tar.bz2
diff --git a/debian/rules b/debian/rules
index 8c5c340..80b47f4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -64,4 +64,3 @@ override_dh_auto_build-indep: html_doc pdf_doc
 	cp -v docs/build/latex/pymzML.pdf $(DOCDIR) && \
 	rm -rf docs && \
 	mv docs-bkp docs
-
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
index 3147589..3af03ec 100644
--- a/debian/upstream/metadata
+++ b/debian/upstream/metadata
@@ -1,3 +1,5 @@
+Bug-Database: https://github.com/pymzml/pymzML/issues
+Bug-Submit: https://github.com/pymzml/pymzML/issues/new
 Reference:
   Author: T. Bald and J. Barth and A. Niehues and M. Specht and M. Hippler and C. Fufezan
   Title: pymzML - Python module for high throughput bioinformatics on mass spectrometry data
@@ -11,4 +13,5 @@ Reference:
   URL: http://bioinformatics.oxfordjournals.org/content/25/20/2741.long
   eprint: http://bioinformatics.oxfordjournals.org/content/early/2012/02/02/bioinformatics.bts066.full.pdf
 
-Repository : https://github.com/pymzml/pymzML
+Repository: https://github.com/pymzml/pymzML.git
+Repository-Browse: https://github.com/pymzml/pymzML

Run locally

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

debcheckout python-pymzml
cd python-pymzml
lintian-brush

More details

Full run details