[Git][debian-gis-team/python-pyproj][master] 2 commits: Add module import tests to autopkgtest configuration.
Bas Couwenberg
gitlab at salsa.debian.org
Mon Apr 16 21:58:46 BST 2018
Bas Couwenberg pushed to branch master at Debian GIS Project / python-pyproj
Commits:
1e043eeb by Bas Couwenberg at 2018-04-16T22:58:04+02:00
Add module import tests to autopkgtest configuration.
- - - - -
193effba by Bas Couwenberg at 2018-04-16T22:58:05+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,10 +1,11 @@
python-pyproj (1.9.5.1-4) UNRELEASED; urgency=medium
* Update copyright-format URL to use HTTPS.
- * Bump Standards-Version to 4.1.3, no changes.
+ * Bump Standards-Version to 4.1.4, no changes.
* Check DEB_BUILD_PROFILES for nocheck in dh_auto_test override.
* Rename PROJ.4 to PROJ.
* Update Vcs-* URLs for Salsa.
+ * Add module import tests to autopkgtest configuration.
-- Bas Couwenberg <sebastic at debian.org> Sun, 21 Jan 2018 10:39:51 +0100
=====================================
debian/control
=====================================
--- a/debian/control
+++ b/debian/control
@@ -13,7 +13,7 @@ Build-Depends: debhelper (>= 9),
python3-setuptools,
python3-numpy,
libproj-dev (>= 4.9.0~)
-Standards-Version: 4.1.3
+Standards-Version: 4.1.4
Vcs-Browser: https://salsa.debian.org/debian-gis-team/python-pyproj
Vcs-Git: https://salsa.debian.org/debian-gis-team/python-pyproj.git
Homepage: https://github.com/jswhit/pyproj
=====================================
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-pyproj
+Test-Command: set -e ; for py in $(pyversions -r 2>/dev/null) ; do cd "$ADTTMP" ; echo "Testing with $py:" ; $py -c "import pyproj; print(pyproj)" ; done
+
+# Test module import (Python 3)
+Depends: python3-all, python3-pyproj
+Test-Command: set -e ; for py in $(py3versions -r 2>/dev/null) ; do cd "$ADTTMP" ; echo "Testing with $py:" ; $py -c "import pyproj; print(pyproj)" ; done
View it on GitLab: https://salsa.debian.org/debian-gis-team/python-pyproj/compare/9b8cc7317ce0d2488b29421f9bfb90ad3577898b...193effbae19ff7c5ef6953cc7c2612f3c9ff5071
---
View it on GitLab: https://salsa.debian.org/debian-gis-team/python-pyproj/compare/9b8cc7317ce0d2488b29421f9bfb90ad3577898b...193effbae19ff7c5ef6953cc7c2612f3c9ff5071
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/a5be5ff2/attachment-0001.html>
More information about the Pkg-grass-devel
mailing list