Skip to content
Commits on Source (2)
......@@ -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@debian.org> Sat, 20 Jan 2018 22:24:19 +0100
......
......@@ -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/
......
# 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