From: Sandro Tosi Date: Tue, 14 Apr 2020 03:49:00 +0000 (-0400) Subject: Dont run unittests for python2 binary, to reduce pytest rdeps X-Git-Tag: archive/raspbian/0.22.0+ds-1+rpi1~1^2^2~61 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=d0283288271507803e1d42efd158637bdfb6385e;p=python-pysam.git Dont run unittests for python2 binary, to reduce pytest rdeps --- diff --git a/debian/changelog b/debian/changelog index b30e508..f44a2ee 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +python-pysam (0.15.4+ds-2) UNRELEASED; urgency=medium + + * Dont run unittests for python2 binary, to reduce pytest rdeps + + -- Sandro Tosi Mon, 13 Apr 2020 23:41:08 -0400 + python-pysam (0.15.4+ds-1) unstable; urgency=medium * Team upload. diff --git a/debian/control b/debian/control index d10173b..4199b4b 100644 --- a/debian/control +++ b/debian/control @@ -19,7 +19,6 @@ Build-Depends: debhelper-compat (= 12), tabix , samtools (>= 1.9) , bcftools (>= 1.9) , - python-pytest , python3-pytest Standards-Version: 4.4.1 Vcs-Browser: https://salsa.debian.org/med-team/python-pysam diff --git a/debian/rules b/debian/rules index c855399..aea25b1 100755 --- a/debian/rules +++ b/debian/rules @@ -18,6 +18,7 @@ export HTSLIB_INCLUDE_DIR=/usr/include # unfortunately this does not work - any hint to fix this would be really welcome #export PYBUILD_TEST_ARGS_python2=-k-XTestRemoteFileHTTP -k-XTestRemoteFileHTTPWithHeader #export PYBUILD_TEST_ARGS_python3=-k-XTestRemoteFileHTTP -k-XTestRemoteFileHTTPWithHeader +export PYBUILD_DISABLE_python2=test clean: clean-tests %: diff --git a/debian/tests/control b/debian/tests/control index cf57285..2286432 100644 --- a/debian/tests/control +++ b/debian/tests/control @@ -1,7 +1,3 @@ -Test-Command: export HOME=$PWD && make -C tests/pysam_data && make -C tests/cbcf_data && pytest || true -Depends: @builddeps@, python-pysam -Restrictions: allow-stderr, rw-build-tree - Test-Command: export HOME=$PWD && make -C tests/pysam_data && make -C tests/cbcf_data && pytest-3 || true Depends: @builddeps@, python3-pysam, Restrictions: allow-stderr, rw-build-tree