Dont run unittests for python2 binary, to reduce pytest rdeps
authorSandro Tosi <morph@debian.org>
Tue, 14 Apr 2020 03:49:00 +0000 (23:49 -0400)
committerSandro Tosi <morph@debian.org>
Tue, 14 Apr 2020 03:49:00 +0000 (23:49 -0400)
debian/changelog
debian/control
debian/rules
debian/tests/control

index b30e508e76f05fa7e41dbd7acba72a9f1a248aef..f44a2eeb8acf49d892a6b5d06fd604cba28f78a3 100644 (file)
@@ -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 <morph@debian.org>  Mon, 13 Apr 2020 23:41:08 -0400
+
 python-pysam (0.15.4+ds-1) unstable; urgency=medium
 
   * Team upload.
index d10173bef68b4e723d5b6954c56382b8809d6576..4199b4bfd2ef429735c77a515fd038af164d1b40 100644 (file)
@@ -19,7 +19,6 @@ Build-Depends: debhelper-compat (= 12),
                tabix <!nocheck>,
                samtools (>= 1.9) <!nocheck>,
                bcftools (>= 1.9) <!nocheck>,
-               python-pytest <!nocheck>,
                python3-pytest <!nocheck>
 Standards-Version: 4.4.1
 Vcs-Browser: https://salsa.debian.org/med-team/python-pysam
index c85539983fa73f2b8baac091bdac162aee20fbdc..aea25b12dd1aa9bccecbcd8489800f48ae30dce4 100755 (executable)
@@ -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
 %:
index cf5728536e311147f6b89a94c7e6717594dfd582..22864327a6974725a14c697cde674b953a63514a 100644 (file)
@@ -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