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

Bas Couwenberg gitlab at salsa.debian.org
Mon Apr 16 21:02:38 BST 2018


Bas Couwenberg pushed to branch master at Debian GIS Project / pyshp


Commits:
58a8dbbb by Bas Couwenberg at 2018-04-16T21:53:04+02:00
Add module import tests to autopkgtest configuration.

- - - - -
701440b6 by Bas Couwenberg at 2018-04-16T21:56:51+02:00
Update watch file to use HTTPS.

- - - - -
81f9eb56 by Bas Couwenberg at 2018-04-16T21:57:47+02:00
Bump Standards-Version to 4.1.4, no changes.

- - - - -


4 changed files:

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


Changes:

=====================================
debian/changelog
=====================================
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,7 +4,9 @@ pyshp (1.2.12+ds-2) UNRELEASED; urgency=medium
   * Strip trailing whitespace from changelog.
   * Update copyright-format URL to use HTTPS.
   * Update Vcs-* URLs for Salsa.
-  * Bump Standards-Version to 4.1.3, no changes.
+  * Bump Standards-Version to 4.1.4, no changes.
+  * Add module import tests to autopkgtest configuration.
+  * Update watch file to use HTTPS.
 
  -- Bas Couwenberg <sebastic at debian.org>  Wed, 15 Nov 2017 22:08:49 +0100
 


=====================================
debian/control
=====================================
--- a/debian/control
+++ b/debian/control
@@ -10,7 +10,7 @@ Build-Depends: debhelper (>= 9),
                python-setuptools,
                python3-all,
                python3-setuptools
-Standards-Version: 4.1.3
+Standards-Version: 4.1.4
 Vcs-Browser: https://salsa.debian.org/debian-gis-team/pyshp
 Vcs-Git: https://salsa.debian.org/debian-gis-team/pyshp.git
 Homepage: https://github.com/GeospatialPython/pyshp


=====================================
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-pyshp
+Test-Command: set -e ; for py in $(pyversions -r 2>/dev/null) ; do cd "$ADTTMP" ; echo "Testing with $py:" ; $py -c "import shapefile; print(shapefile)" ; done
+
+# Test module import (Python 3)
+Depends: python3-all, python3-pyshp
+Test-Command: set -e ; for py in $(py3versions -r 2>/dev/null) ; do cd "$ADTTMP" ; echo "Testing with $py:" ; $py -c "import shapefile; print(shapefile)" ; 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/pyshp/pyshp-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))
+https://pypi.debian.net/pyshp/pyshp-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))



View it on GitLab: https://salsa.debian.org/debian-gis-team/pyshp/compare/beea60c0c9b755dc186adc3dc8ffd260a72e3668...81f9eb56c184f436e16ae70fb59cf944012d3c58

---
View it on GitLab: https://salsa.debian.org/debian-gis-team/pyshp/compare/beea60c0c9b755dc186adc3dc8ffd260a72e3668...81f9eb56c184f436e16ae70fb59cf944012d3c58
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/ee54a436/attachment-0001.html>


More information about the Pkg-grass-devel mailing list