[Git][debian-gis-team/pyspectral][master] Install test code and fix testing

Antonio Valentino gitlab at salsa.debian.org
Sun Jun 28 15:58:40 BST 2020



Antonio Valentino pushed to branch master at Debian GIS Project / pyspectral


Commits:
0c1cabbe by Antonio Valentino at 2020-06-28T16:57:12+02:00
Install test code and fix testing

- - - - -


4 changed files:

- debian/changelog
- debian/control
- debian/python3-pyspectral.install
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -3,9 +3,11 @@ pyspectral (0.10.0+ds-1) unstable; urgency=medium
   * New upstream release.
   * debian/control:
     - python-pyspectral-doc is now Multi-Arch: foreig
+    - add build dependency on pytest
+  * Fix testing.
   * Update debian/copyright.
 
- -- Antonio Valentino <antonio.valentino at tiscali.it>  Sun, 28 Jun 2020 08:08:35 +0000
+ -- Antonio Valentino <antonio.valentino at tiscali.it>  Sun, 28 Jun 2020 16:56:50 +0200
 
 pyspectral (0.9.5+ds-1) unstable; urgency=medium
 


=====================================
debian/control
=====================================
@@ -15,6 +15,7 @@ Build-Depends: debhelper-compat (= 12),
                python3-h5py,
                python3-matplotlib,
                python3-numpy,
+               python3-pytest,
                python3-requests,
                python3-trollsift,
                python3-scipy,


=====================================
debian/python3-pyspectral.install
=====================================
@@ -1,4 +1,5 @@
 usr/lib/python3*/dist-packages/*/*.py
 usr/lib/python3*/dist-packages/*/etc/*
 usr/lib/python3*/dist-packages/*/data/*
+usr/lib/python3*/dist-packages/*/tests/*
 usr/lib/python3*/dist-packages/*.egg-info/*


=====================================
debian/rules
=====================================
@@ -4,7 +4,8 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-export PSP_CONFIG_FILE=debian/pyspectral_testcfg.yaml
+export PYBUILD_TEST_ARGS=-k 'not test_rayleigh'
+# export PSP_CONFIG_FILE=debian/pyspectral_testcfg.yaml
 
 %:
 	dh $@ --with python3,sphinxdoc --buildsystem=pybuild



View it on GitLab: https://salsa.debian.org/debian-gis-team/pyspectral/-/commit/0c1cabbe2bf585705f7bedccb26951b74e25d48e

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/pyspectral/-/commit/0c1cabbe2bf585705f7bedccb26951b74e25d48e
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/20200628/1ad075e3/attachment-0001.html>


More information about the Pkg-grass-devel mailing list