[Git][debian-gis-team/python-rtree][master] 3 commits: Add module import tests to autopkgtest configuration.

Bas Couwenberg gitlab at salsa.debian.org
Mon Apr 16 22:09:42 BST 2018


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


Commits:
d5ed1889 by Bas Couwenberg at 2018-04-16T22:59:53+02:00
Add module import tests to autopkgtest configuration.

- - - - -
71b525e7 by Bas Couwenberg at 2018-04-16T23:00:13+02:00
Bump Standards-Version to 4.1.4, no changes.

- - - - -
d873207f by Bas Couwenberg at 2018-04-16T23:05:29+02:00
Update watch file to use HTTPS.

- - - - -


4 changed files:

- debian/changelog
- debian/control
- debian/tests/control
- debian/watch


Changes:

=====================================
debian/changelog
=====================================
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,10 +1,12 @@
 python-rtree (0.8.3+ds-2) UNRELEASED; urgency=medium
 
   * Add python3-sphinx to build dependencies.
-  * Bump Standards-Version to 4.1.3, no changes.
+  * Bump Standards-Version to 4.1.4, no changes.
   * Add autopkgtest to test installability.
   * Update copyright-format URL to use HTTPS.
   * Update Vcs-* URLs for Salsa.
+  * Add module import tests to autopkgtest configuration.
+  * Update watch file to use HTTPS.
 
  -- Bas Couwenberg <sebastic at debian.org>  Wed, 27 Sep 2017 15:03:32 +0200
 


=====================================
debian/control
=====================================
--- a/debian/control
+++ b/debian/control
@@ -14,7 +14,7 @@ Build-Depends: debhelper (>= 9),
                python3-numpy,
                python3-setuptools,
                python3-sphinx
-Standards-Version: 4.1.3
+Standards-Version: 4.1.4
 Vcs-Browser: https://salsa.debian.org/debian-gis-team/python-rtree
 Vcs-Git: https://salsa.debian.org/debian-gis-team/python-rtree.git
 Homepage: http://toblerity.org/rtree/


=====================================
debian/tests/control
=====================================
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,3 +1,11 @@
 # Test installability
 Depends: @
 Test-Command: /bin/true
+
+# Test module import (Python 2)
+Depends: python-all, python-rtree
+Test-Command: set -e ; for py in $(pyversions -r 2>/dev/null) ; do cd "$ADTTMP" ; echo "Testing with $py:" ; $py -c "import rtree; print(rtree)" ; done
+
+# Test module import (Python 3)
+Depends: python3-all, python3-rtree
+Test-Command: set -e ; for py in $(py3versions -r 2>/dev/null) ; do cd "$ADTTMP" ; echo "Testing with $py:" ; $py -c "import rtree; print(rtree)" ; done


=====================================
debian/watch
=====================================
--- a/debian/watch
+++ b/debian/watch
@@ -3,4 +3,4 @@ opts=\
 dversionmangle=s/\+(debian|dfsg|ds|deb)\d*$//,\
 uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/,\
 repacksuffix=+ds \
-http://pypi.debian.net/Rtree/Rtree-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))
+https://pypi.debian.net/Rtree/Rtree-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))



View it on GitLab: https://salsa.debian.org/debian-gis-team/python-rtree/compare/3c0b64818d15b79239244674db1be69efad0e3f0...d873207f3a41b9b96535f3b976c34ef21ec39773

---
View it on GitLab: https://salsa.debian.org/debian-gis-team/python-rtree/compare/3c0b64818d15b79239244674db1be69efad0e3f0...d873207f3a41b9b96535f3b976c34ef21ec39773
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/20180416/6ba998e6/attachment-0001.html>


More information about the Pkg-grass-devel mailing list