[Git][debian-gis-team/netcdf4-python][master] 2 commits: Add module import tests to autopkgtest configuration.
Bas Couwenberg
gitlab at salsa.debian.org
Tue Apr 17 18:13:07 BST 2018
Bas Couwenberg pushed to branch master at Debian GIS Project / netcdf4-python
Commits:
4ed12009 by Bas Couwenberg at 2018-04-17T18:54:50+02:00
Add module import tests to autopkgtest configuration.
- - - - -
ee25d230 by Bas Couwenberg at 2018-04-17T18:55:04+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
@@ -2,7 +2,8 @@ netcdf4-python (1.3.1-2) UNRELEASED; urgency=medium
* 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> Sat, 20 Jan 2018 22:24:19 +0100
=====================================
debian/control
=====================================
--- a/debian/control
+++ b/debian/control
@@ -18,7 +18,7 @@ Build-Depends: debhelper (>= 9),
libnetcdf-dev (>= 1:4.4.0),
netcdf-bin,
chrpath
-Standards-Version: 4.1.3
+Standards-Version: 4.1.4
Vcs-Browser: https://salsa.debian.org/debian-gis-team/netcdf4-python/
Vcs-Git: https://salsa.debian.org/debian-gis-team/netcdf4-python.git
Homepage: http://unidata.github.io/netcdf4-python/
=====================================
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-netcdf4
+Test-Command: set -e ; for py in $(pyversions -r 2>/dev/null) ; do cd "$ADTTMP" ; echo "Testing with $py:" ; $py -c "import netCDF4; import netcdftime; print(netCDF4); print(netcdftime)" ; done
+
+# Test module import (Python 3)
+Depends: python3-all, python3-netcdf4
+Test-Command: set -e ; for py in $(py3versions -r 2>/dev/null) ; do cd "$ADTTMP" ; echo "Testing with $py:" ; $py -c "import netCDF4; import netcdftime; print(netCDF4); print(netcdftime)" ; done
View it on GitLab: https://salsa.debian.org/debian-gis-team/netcdf4-python/compare/4f0840c670635831d539062b4c71fa954179062d...ee25d230aff84299d286d740c533cbaa263cc559
---
View it on GitLab: https://salsa.debian.org/debian-gis-team/netcdf4-python/compare/4f0840c670635831d539062b4c71fa954179062d...ee25d230aff84299d286d740c533cbaa263cc559
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/822b2727/attachment-0001.html>
More information about the Pkg-grass-devel
mailing list