[Git][debian-gis-team/python-cartopy][master] 2 commits: Use autopkgtest-pkg-pybuild testsuite.

Bas Couwenberg (@sebastic) gitlab at salsa.debian.org
Thu Apr 17 20:48:38 BST 2025



Bas Couwenberg pushed to branch master at Debian GIS Project / python-cartopy


Commits:
a3d0aa55 by Bas Couwenberg at 2025-04-17T21:42:10+02:00
Use autopkgtest-pkg-pybuild testsuite.

- - - - -
fa055cfa by Bas Couwenberg at 2025-04-17T21:48:20+02:00
Update lintian overrides.

- - - - -


6 changed files:

- debian/changelog
- debian/control
- debian/rules
- + debian/source/lintian-overrides
- − debian/tests/control
- − debian/tests/python3


Changes:

=====================================
debian/changelog
=====================================
@@ -2,6 +2,8 @@ python-cartopy (0.24.1+dfsg-2) UNRELEASED; urgency=medium
 
   * Team upload.
   * Bump Standards-Version to 4.7.2, no changes.
+  * Use autopkgtest-pkg-pybuild testsuite.
+  * Update lintian overrides.
 
  -- Bas Couwenberg <sebastic at debian.org>  Thu, 20 Mar 2025 06:19:54 +0100
 


=====================================
debian/control
=====================================
@@ -31,6 +31,7 @@ Standards-Version: 4.7.2
 Vcs-Browser: https://salsa.debian.org/debian-gis-team/python-cartopy
 Vcs-Git: https://salsa.debian.org/debian-gis-team/python-cartopy.git
 Homepage: https://scitools.org.uk/cartopy/
+Testsuite: autopkgtest-pkg-pybuild
 
 Package: python3-cartopy
 Architecture: any


=====================================
debian/rules
=====================================
@@ -20,7 +20,7 @@ export PYBUILD_TEST_PYTEST = 1
 # See: https://github.com/SciTools/cartopy/issues/797.
 # Testing of the plot feature (cartopy/tests/mpl/*) is disabled due to a bug in
 # the matplotlib Debian package. See Bug-Debian #838301.
-export PYBUILD_TEST_ARGS = --pyargs -v -m "not network and not natural_earth" cartopy/
+export PYBUILD_TEST_ARGS = --pyargs -v -m "not network and not natural_earth" cartopy
 
 %:
 	dh $@ --buildsystem=pybuild


=====================================
debian/source/lintian-overrides
=====================================
@@ -0,0 +1,3 @@
+# False positive, Build-Depends on both python3-numpy & dh-sequence-numpy3.
+missing-build-dependency-for-dh_-command dh_numpy3 *
+


=====================================
debian/tests/control deleted
=====================================
@@ -1,3 +0,0 @@
-Depends: python3-all, python3-cartopy, python3-pytest, python3-pytest-mpl
-Tests: python3
-Restrictions: allow-stderr


=====================================
debian/tests/python3 deleted
=====================================
@@ -1,10 +0,0 @@
-#!/bin/sh
-set -efu
-
-PYS=${PYS:-"$(py3versions -s 2>/dev/null)"}
-
-
-for py in $PYS; do
-    echo "=== $py ==="
-    $py -m pytest --pyargs -v -m "not network and not natural_earth" cartopy
-done



View it on GitLab: https://salsa.debian.org/debian-gis-team/python-cartopy/-/compare/7eae48624f08ce152e1c092e35c95a9b967a5194...fa055cfad7f11a2ab044023ef29440a0d128663b

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/python-cartopy/-/compare/7eae48624f08ce152e1c092e35c95a9b967a5194...fa055cfad7f11a2ab044023ef29440a0d128663b
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20250417/6b162d6c/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list