Lintian Fixes - python-escript

Ready changes

Summary

Failed fixers:

See the worker log for details.

Diff

diff --git a/debian/changelog b/debian/changelog
index 282e812..e3fa21b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,13 @@
+python-escript (5.6-5) UNRELEASED; urgency=medium
+
+  * Trim trailing whitespace.
+  * Update watch file format version to 4.
+  * Set upstream metadata fields: Repository-Browse.
+  * Fix broken Vcs URL.
+  * Update standards version to 4.6.2, no changes needed.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Wed, 08 Mar 2023 01:30:22 -0000
+
 python-escript (5.6-4) unstable; urgency=medium
 
   * Standards-Version: 4.6.0
@@ -94,7 +104,7 @@ python-escript (5.4-3) unstable; urgency=medium
   * Standards-Version now 4.4.1.0
   * Build-Depend on trilinos-dev for 64-bit archs
   * Build-depend on gmsh
-  * Drop -Wno-maybe-uninitialized and use -Wno-unitialized instead because of 
+  * Drop -Wno-maybe-uninitialized and use -Wno-unitialized instead because of
     warnings. Closes: #917689
 
  -- Alastair McKinstry <mckinstry@debian.org>  Mon, 16 Dec 2019 14:17:27 +0000
@@ -103,7 +113,7 @@ python-escript (5.4-2) unstable; urgency=medium
 
   * Close bug fixed in previous release. Closes: #925519
   * Build-depend on python3-gdal, sympy, matplotlib
-  * Enable -Wno-maybe-uninitialized for 32-bit builds. 
+  * Enable -Wno-maybe-uninitialized for 32-bit builds.
 
  -- Alastair McKinstry <mckinstry@debian.org>  Sun, 28 Jul 2019 08:40:49 +0100
 
@@ -123,7 +133,7 @@ python-escript (5.3-1) unstable; urgency=medium
   * New upstream release
   * Standards-Version now 4.3.0
   * Update VCS-* fields to point to salsa.debian.org
-  * Move scons config to debian/sid_option.py 
+  * Move scons config to debian/sid_option.py
   * Set -Os -g1 -Wl,--no-keep-memory on low-mem archs
 
  -- Alastair McKinstry <mckinstry@debian.org>  Sat, 19 Jan 2019 14:33:58 +0000
@@ -154,7 +164,7 @@ python-escript (5.2-1) unstable; urgency=medium
   * New upstream release
   * Standards-Version: 4.2.1
   * B-D on libnetcdf-c++4-dev
-  * Drop old patches: fixsphinxversion, 
+  * Drop old patches: fixsphinxversion,
   * Add exception.patch for NetCDF4 errors with g++ 8.
 
  -- Alastair McKinstry <mckinstry@debian.org>  Sat, 06 Oct 2018 14:14:27 +0100
diff --git a/debian/control b/debian/control
index 0dd9913..81c0265 100644
--- a/debian/control
+++ b/debian/control
@@ -12,7 +12,7 @@ Build-Depends: debhelper-compat (= 13),
                python3-matplotlib,
                python3-numpy,
 	       python3-scipy,
-	       python3-pyproj,	
+	       python3-pyproj,
 	       libcppunit-dev,
 	       libsuitesparse-dev,
                libboost-python-dev,
@@ -39,10 +39,10 @@ Build-Depends: debhelper-compat (= 13),
                libopenmpi-dev,
                openmpi-bin,
                libjs-mathjax
-Standards-Version: 4.6.0
+Standards-Version: 4.6.2
 Homepage: https://launchpad.net/escript-finley
 Vcs-Browser: https://salsa.debian.org:/science-team/python-escript.git
-Vcs-Git: https://salsa.debian.org:/science-team/python-escript.git
+Vcs-Git: https://salsa.debian.org/science-team/python-escript.git
 
 Package: python3-escript
 Architecture: any
@@ -63,17 +63,17 @@ Description: Escript/Finley finite elements Python3 system (with OpenMP)
  structures it is very easy to use and scripts can run on desktop computers as
  well as highly parallel supercomputer without changes. Application areas for
  escript include earth mantle convection, geophysical inversion, earthquakes,
- porous media flow, reactive transport, plate subduction, erosion, and 
+ porous media flow, reactive transport, plate subduction, erosion, and
  tsunamis.
  .
  Scripts can be executed in parallel (on varying numbers of threads or nodes)
- without any special modifications.  
+ without any special modifications.
  .
  Escript now includes the esys.downunder module for 3D inversion of geophysical
  data sets. The current version supports gravity, magnetic and joint inversion.
  .
- This package contains the commands and libraries for Python3 with 
- OpenMP threading and MPI multiprocess support. 
+ This package contains the commands and libraries for Python3 with
+ OpenMP threading and MPI multiprocess support.
 
 Package: python3-escript-mpi
 Architecture: any
@@ -90,22 +90,22 @@ Suggests: python3-pyproj,
           python3-gdal,
           python-escript-doc
 Description: Escript/Finley finite elements Python3 system (OpenMP + MPI)
- Escript is a programming tool for implementing mathematical models in Python 
- using the finite element method (FEM). Because users do not access the data 
- structures it is very easy to use and scripts can run on desktop computers as 
- well as highly parallel supercomputer without changes. Application areas for 
- escript include earth mantle convection, geophysical inversion, earthquakes, 
- porous media flow, reactive transport, plate subduction, erosion, and 
+ Escript is a programming tool for implementing mathematical models in Python
+ using the finite element method (FEM). Because users do not access the data
+ structures it is very easy to use and scripts can run on desktop computers as
+ well as highly parallel supercomputer without changes. Application areas for
+ escript include earth mantle convection, geophysical inversion, earthquakes,
+ porous media flow, reactive transport, plate subduction, erosion, and
  tsunamis.
  .
- Scripts can be executed in parallel (on varying numbers of threads or nodes) 
- without any special modifications.  
+ Scripts can be executed in parallel (on varying numbers of threads or nodes)
+ without any special modifications.
  .
  Escript now includes the esys.downunder module for 3D inversion of geophysical
  data sets. The current version supports gravity, magnetic and joint inversion.
  .
- This package contains the commands and libraries for Python3 with 
- both OpenMP threading and MPI multiprocess support.  
+ This package contains the commands and libraries for Python3 with
+ both OpenMP threading and MPI multiprocess support.
 
 Package: python-escript-doc
 Architecture: all
@@ -118,21 +118,21 @@ Depends: doc-base,
 	 ${sphinxdoc:Depends}
 Recommends: python3-escript
 Description: Documentation for Escript/Finley
- Escript is a programming tool for implementing mathematical models in Python 
- using the finite element method (FEM). Because users do not access the data 
- structures it is very easy to use and scripts can run on desktop computers as 
- well as highly parallel supercomputer without changes. Application areas for 
- escript include earth mantle convection, geophysical inversion, earthquakes, 
- porous media flow, reactive transport, plate subduction, erosion, and 
+ Escript is a programming tool for implementing mathematical models in Python
+ using the finite element method (FEM). Because users do not access the data
+ structures it is very easy to use and scripts can run on desktop computers as
+ well as highly parallel supercomputer without changes. Application areas for
+ escript include earth mantle convection, geophysical inversion, earthquakes,
+ porous media flow, reactive transport, plate subduction, erosion, and
  tsunamis.
  .
- Scripts can be executed in parallel (on varying numbers of threads or nodes) 
- without any special modifications.  
+ Scripts can be executed in parallel (on varying numbers of threads or nodes)
+ without any special modifications.
  .
  Escript now includes the esys.downunder module for 3D inversion of geophysical
  data sets. The current version supports gravity, magnetic and joint inversion.
  .
- This package contains the documentation for escript, 
- including example scripts the user guide, the cookbook (an introduction from 
- a geoscientists point of view) and a guide to the esys.downunder inversion 
+ This package contains the documentation for escript,
+ including example scripts the user guide, the cookbook (an introduction from
+ a geoscientists point of view) and a guide to the esys.downunder inversion
  toolkit.
diff --git a/debian/rules b/debian/rules
index cc2330e..f9b9232 100755
--- a/debian/rules
+++ b/debian/rules
@@ -30,15 +30,15 @@ else
 endif
 
 # Some archs have memory / speed issues See #917869
-SMALL_ARCHS:= mips64el 
-SFLAGS:= $(if $(filter $(DEB_TARGET_ARCH), $(SMALL_ARCHS)),-j1, $(SFLAGS) ) 
-OPT:= $(if $(filter $(DEB_TARGET_ARCH), $(SMALL_ARCHS)),-O0 mxgot , -O3 ) 
+SMALL_ARCHS:= mips64el
+SFLAGS:= $(if $(filter $(DEB_TARGET_ARCH), $(SMALL_ARCHS)),-j1, $(SFLAGS) )
+OPT:= $(if $(filter $(DEB_TARGET_ARCH), $(SMALL_ARCHS)),-O0 mxgot , -O3 )
 
 %:
 	dh $@  -v
 
 override_dh_clean:
-	find . -name '*.pyc' -delete 
+	find . -name '*.pyc' -delete
 	rm -f itest.sh utest.sh
 	rm -rf build condif.log esys include lib release .sconf_tmp .sconsign.dblite config.log .sconf_temp
 	rm -rf $(B3DEST)
@@ -98,4 +98,3 @@ override_dh_shlibdeps:
 override_dh_python3:
 	dh_python3 -ppython3-escript -Npython3-escript-mpi -Npython-escript-doc --no-ext-rename	usr/lib/python3-escript/esys
 	dh_python3 -ppython3-escript-mpi -Npython3-escript -Npython-escript-doc --no-ext-rename	usr/lib/python3-escript-mpi/esys
-
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..1edb783
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,2 @@
+---
+Repository-Browse: https://code.launchpad.net/escript-finley
diff --git a/debian/watch b/debian/watch
index a6652e1..f790cda 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,2 @@
-version=3
+version=4
 https://launchpad.net/escript-finley/+download https://launchpad.net/escript-finley/3.0\+/.+/\+download/python-escript_(.+).tar.gz

Run locally

More details

Full run details

Historical runs