[Git][debian-gis-team/pykdtree][master] Update debian/tests to use Python 3

Antonio Valentino gitlab at salsa.debian.org
Wed Jul 24 06:43:06 BST 2019



Antonio Valentino pushed to branch master at Debian GIS Project / pykdtree


Commits:
ac72321b by Antonio Valentino at 2019-07-24T05:37:08Z
Update debian/tests to use Python 3

- - - - -


3 changed files:

- debian/changelog
- debian/tests/control
- debian/tests/python2 → debian/tests/python3


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,9 @@
+pykdtree (1.3.1-4) unstable; urgency=medium
+
+  * Update autopkgtest in debian/tests to use Python 3 instead of Python 2.
+
+ -- Antonio Valentino <antonio.valentino at tiscali.it>  Wed, 24 Jul 2019 05:36:33 +0000
+
 pykdtree (1.3.1-3) unstable; urgency=medium
 
   [ Bas Couwenberg ]


=====================================
debian/tests/control
=====================================
@@ -1,2 +1,2 @@
-Tests: python2
-Depends: python-pykdtree, python-all, python-nose
+Tests: python3
+Depends: python3-pykdtree, python3-all, python3-nose


=====================================
debian/tests/python2 → debian/tests/python3
=====================================
@@ -1,12 +1,12 @@
 #!/bin/sh
 set -efu
 
-PYS=${PYS:-"$(pyversions -r 2>/dev/null)"}
+PYS=${PYS:-"$(py3versions -r 2>/dev/null)"}
 TESTPKG=${TESTPKG:-pykdtree}
 
 cd "$ADTTMP"
 
 for py in $PYS; do
     echo "=== $py ==="
-    $py /usr/bin/nosetests -v pykdtree 2>&1
+    $py -m nose -v pykdtree 2>&1
 done



View it on GitLab: https://salsa.debian.org/debian-gis-team/pykdtree/commit/ac72321b6b1a6b9dbee131f8a4e583f5c3b51470

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/pykdtree/commit/ac72321b6b1a6b9dbee131f8a4e583f5c3b51470
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/20190724/027cb2f6/attachment-0001.html>


More information about the Pkg-grass-devel mailing list