[Git][debian-gis-team/fiona][master] 2 commits: Add module import tests to autopkgtest configuration.
Bas Couwenberg
gitlab at salsa.debian.org
Tue Apr 17 07:14:56 BST 2018
Bas Couwenberg pushed to branch master at Debian GIS Project / fiona
Commits:
7a89353d by Bas Couwenberg at 2018-04-17T08:14:10+02:00
Add module import tests to autopkgtest configuration.
- - - - -
a7dc2709 by Bas Couwenberg at 2018-04-17T08:14:10+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
@@ -4,7 +4,8 @@ fiona (1.7.10-2) UNRELEASED; urgency=medium
* Strip trailing whitespace from changelog, control & rules files.
* 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.
-- Bas Couwenberg <sebastic at debian.org> Wed, 15 Nov 2017 21:48:42 +0100
=====================================
debian/control
=====================================
--- a/debian/control
+++ b/debian/control
@@ -30,7 +30,7 @@ Build-Depends: debhelper (>= 9),
python3-six,
python-sphinx,
python3-sphinx
-Standards-Version: 4.1.3
+Standards-Version: 4.1.4
Vcs-Browser: https://salsa.debian.org/debian-gis-team/fiona
Vcs-Git: https://salsa.debian.org/debian-gis-team/fiona.git
Homepage: https://github.com/Toblerity/Fiona
=====================================
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-fiona
+Test-Command: set -e ; for py in $(pyversions -r 2>/dev/null) ; do cd "$ADTTMP" ; echo "Testing with $py:" ; $py -c "import fiona; import fiona.fio; print(fiona); print(fiona.fio)" ; done
+
+# Test module import (Python 3)
+Depends: python3-all, python3-fiona
+Test-Command: set -e ; for py in $(py3versions -r 2>/dev/null) ; do cd "$ADTTMP" ; echo "Testing with $py:" ; $py -c "import fiona; import fiona.fio; print(fiona); print(fiona.fio)" ; done
View it on GitLab: https://salsa.debian.org/debian-gis-team/fiona/compare/03f63b97c04fc2e0ed7c668793cc525559888fea...a7dc270920890cbe0202c52b9a24e2851cea9cbb
---
View it on GitLab: https://salsa.debian.org/debian-gis-team/fiona/compare/03f63b97c04fc2e0ed7c668793cc525559888fea...a7dc270920890cbe0202c52b9a24e2851cea9cbb
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/487232a9/attachment-0001.html>
More information about the Pkg-grass-devel
mailing list