Lintian Fixes - python-xarray

Ready changes

Summary

Lintian Result

Diff

diff --git a/debian/changelog b/debian/changelog
index 05c0482..7d1da03 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+python-xarray (2022.06.0-8) UNRELEASED; urgency=medium
+
+  * Trim trailing whitespace.
+  * Use secure URI in Homepage field.
+  * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository-Browse.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Mon, 03 Oct 2022 09:46:58 -0000
+
 python-xarray (2022.06.0-7) unstable; urgency=medium
 
   * Patch test_indexes-big-endian.patch from Graham Inggs. Closes: #1018758
@@ -117,7 +125,7 @@ python-xarray (0.19.0-3) unstable; urgency=medium
   * Move to debhelper level 13
   * Standards-Version: 4.6.0
   * Fix typo on patch for pytest marking. test_tutorial.py
-  * Mark test test_pad_constant XFAIL on Arm64 as large constants 
+  * Mark test test_pad_constant XFAIL on Arm64 as large constants
     not transformed into NaN. Closes: #983758
   * Mark test_push_dask() XFAIL with bottleneck < 1.3.0.
 
@@ -187,7 +195,7 @@ python-xarray (0.16.0-1) unstable; urgency=medium
 python-xarray (0.15.1-4) unstable; urgency=medium
 
   * silence-warnings.patch: Don't fail tests on warnings, only errors.
-    Closes: #963820  
+    Closes: #963820
   * Drop merged/obsolete patches:
     - 3430.diff
     - 3431.diff
@@ -213,7 +221,7 @@ python-xarray (0.15.1-2) unstable; urgency=medium
 
 python-xarray (0.15.1-1) unstable; urgency=medium
 
-  * New upstream release 
+  * New upstream release
   * Use dh-sequence-* rather than --with *
 
  -- Alastair McKinstry <mckinstry@debian.org>  Fri, 27 Mar 2020 10:56:52 +0000
@@ -222,7 +230,7 @@ python-xarray (0.15.0-3) unstable; urgency=medium
 
   * Drop obsolete patches from d/patches
   * Mark download tests xfail. Closes: #935455
-  * Switch to python3-pip. 
+  * Switch to python3-pip.
   * pip3.patch: use pip3 instead of pip. Closes: #943226
 
  -- Alastair McKinstry <mckinstry@debian.org>  Wed, 11 Mar 2020 10:14:52 +0000
@@ -232,7 +240,7 @@ python-xarray (0.15.0-2) unstable; urgency=medium
   * Build-Depend on python3-h5netcdf , python3-zarr, python3-pandas,
     ipython3, python3-jupyter-console, python3-jupyter-core,
     python3-jupyter-client
-  * Change setup.py to find, include all subpackages. Closes: #950743 
+  * Change setup.py to find, include all subpackages. Closes: #950743
   * Standards-Version: 4.5.0
   * Update no-installer patch to set nbsphinx_allow_errors = True
 
@@ -264,7 +272,7 @@ python-xarray (0.14.1-1) unstable; urgency=medium
 
 python-xarray (0.14.0-2) unstable; urgency=medium
 
-  [ Matthias Klose ] 
+  [ Matthias Klose ]
   * Fix test failures with new cftime 1.0.4, taken from upstream.
   * _get_scheduler() exception if dask.multiprocessing missing, taken
     from upstream.
@@ -311,7 +319,7 @@ python-xarray (0.12.1-2) unstable; urgency=medium
 python-xarray (0.12.1-1) unstable; urgency=medium
 
   * New upstream release
-  * Drop python2 support: code and dependencies (contextlib.suppress, etc) 
+  * Drop python2 support: code and dependencies (contextlib.suppress, etc)
     no longer work on python < 3.5
   * Add sphinx3-build script to allow python3 -based sphinx build. Helper
     script in debian/, path set in d/rules; patch to doc/Makefile
@@ -367,12 +375,12 @@ python-xarray (0.11.0-2) unstable; urgency=medium
 python-xarray (0.11.0-1) unstable; urgency=medium
 
   * New upstream release
-  * Re-enable testing on python3* rather than python3.6 now pandas supports 
+  * Re-enable testing on python3* rather than python3.6 now pandas supports
     python3.7. Closes: #913521
   * Bug with cftime 1.0.2: mark some affected tests XFAIL. Closes: #913524
   * Don't ship executable data (example) files
   * Don't execute tests id 'nocheck' in DEB_BUILD_OPTIONS
-  * Drop deprecated Restrictions: needs-recommends from d/tests/control; 
+  * Drop deprecated Restrictions: needs-recommends from d/tests/control;
     add dependencies instead
 
  -- Alastair McKinstry <mckinstry@debian.org>  Mon, 12 Nov 2018 11:56:23 +0000
diff --git a/debian/control b/debian/control
index e9b5aff..f23d2fb 100644
--- a/debian/control
+++ b/debian/control
@@ -41,14 +41,14 @@ Build-Depends: debhelper-compat (= 13),
 	       pandoc,
 	       ipython3,
                python3-ipython-genutils,
-		python3-jupyter-console, 
-		python3-jupyter-core, 
+		python3-jupyter-console,
+		python3-jupyter-core,
 		python3-jupyter-client,
 		python3-packaging
 Standards-Version: 4.6.1
 Vcs-Browser: https://salsa.debian.org/science-team/python-xarray
 Vcs-Git: https://salsa.debian.org/science-team/python-xarray.git
-Homepage: http://xarray.pydata.org/
+Homepage: https://xarray.pydata.org/
 
 Package: python3-xarray
 Architecture: all
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..fde9757
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,4 @@
+---
+Bug-Database: https://github.com/pydata/xarray/issues
+Bug-Submit: https://github.com/pydata/xarray/issues/new
+Repository-Browse: https://github.com/pydata/xarray

Run locally

More details

Full run details