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

Bas Couwenberg gitlab at salsa.debian.org
Tue Apr 17 18:53:46 BST 2018


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


Commits:
0125efa5 by Bas Couwenberg at 2018-04-17T19:15:06+02:00
Add module import tests to autopkgtest configuration.

- - - - -
38a0ead8 by Bas Couwenberg at 2018-04-17T19:15:21+02:00
Bump Standards Version to 4.1.4, no changes.

- - - - -


3 changed files:

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


Changes:

=====================================
debian/changelog
=====================================
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,7 +1,8 @@
 owslib (0.16.0-2) UNRELEASED; urgency=medium
 
   * 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.
 
  -- Johan Van de Wauw <johan at gisky.be>  Sat, 31 Mar 2018 12:42:19 +0200
 


=====================================
debian/control
=====================================
--- a/debian/control
+++ b/debian/control
@@ -19,7 +19,7 @@ Build-Depends: debhelper (>= 9),
                python3-all,
                python3-requests,
                python3-sphinx
-Standards-Version: 4.1.3
+Standards-Version: 4.1.4
 Vcs-Browser: https://salsa.debian.org/debian-gis-team/owslib
 Vcs-Git: https://salsa.debian.org/debian-gis-team/owslib.git
 Homepage: https://geopython.github.com/OWSLib/


=====================================
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-owslib
+Test-Command: set -e ; for py in $(pyversions -r 2>/dev/null) ; do cd "$ADTTMP" ; echo "Testing with $py:" ; $py -c "import owslib; print(owslib)" ; done
+
+# Test module import (Python 3)
+Depends: python3-all, python3-owslib
+Test-Command: set -e ; for py in $(py3versions -r 2>/dev/null) ; do cd "$ADTTMP" ; echo "Testing with $py:" ; $py -c "import owslib; print(owslib)" ; done



View it on GitLab: https://salsa.debian.org/debian-gis-team/owslib/compare/0c4bf6c00de2827a0eced9683c92ac7a6cf23652...38a0ead880473c8f851792d4d0ffd62a0b6df501

---
View it on GitLab: https://salsa.debian.org/debian-gis-team/owslib/compare/0c4bf6c00de2827a0eced9683c92ac7a6cf23652...38a0ead880473c8f851792d4d0ffd62a0b6df501
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/20180417/f399fe73/attachment-0001.html>


More information about the Pkg-grass-devel mailing list