Lintian Fixes - python-xarray

Ready changes

Summary

Diff

diff --git a/debian/changelog b/debian/changelog
index 23d9088..afe240b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+python-xarray (2023.04.2-2) 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>  Thu, 08 Jun 2023 00:15:08 -0000
+
 python-xarray (2023.04.2-1) experimental; urgency=medium
 
   * New upstream release
@@ -65,7 +73,7 @@ python-xarray (2022.09.0-1) unstable; urgency=medium
     - cftime-fix.patch
     - test_indexes-big-endian.patch
     - no-sphinx-panels.patch
-    - sparse.patch 
+    - sparse.patch
   * Now recommend python3-cftime,python3-sparse,python3-rasterio
 
  -- Alastair McKinstry <mckinstry@debian.org>  Mon, 03 Oct 2022 12:24:02 +0100
@@ -189,7 +197,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.
 
@@ -259,7 +267,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
@@ -285,7 +293,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
@@ -294,7 +302,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
@@ -304,7 +312,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
 
@@ -336,7 +344,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.
@@ -383,7 +391,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
@@ -439,12 +447,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 0190c64..6e2e237 100644
--- a/debian/control
+++ b/debian/control
@@ -39,14 +39,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.2
 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

Historical runs