[med-svn] [python-pysam] 03/04: Skip tests on ppc64el to avoid build-dep on bcftools currently uninstallable

Mattia Rizzolo mattia at debian.org
Tue Oct 24 16:52:07 UTC 2017


This is an automated email from the git hooks/post-receive script.

mattia pushed a commit to branch master
in repository python-pysam.

commit 6720bc51c0e9711a141b54ef785b5da52c27f0f5
Author: Mattia Rizzolo <mattia at debian.org>
Date:   Tue Oct 24 18:25:30 2017 +0200

    Skip tests on ppc64el to avoid build-dep on bcftools currently uninstallable
    
    Hopefully this will help unstuck the current python3 transition.
    
    Signed-off-by: Mattia Rizzolo <mattia at debian.org>
---
 debian/control | 2 +-
 debian/rules   | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index 7818024..02e0a58 100644
--- a/debian/control
+++ b/debian/control
@@ -20,7 +20,7 @@ Build-Depends:
 	cython3 (>= 0.23),
 	tabix <!nocheck>,
 	samtools (>= 1.5) <!nocheck>,
-	bcftools (>= 1.5) <!nocheck>,
+	bcftools (>= 1.5) [!ppc64el] <!nocheck>,
 	python-pytest <!nocheck>,
 	python3-pytest <!nocheck>,
 Standards-Version: 4.1.0
diff --git a/debian/rules b/debian/rules
index cb44816..4e6bfd7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -23,11 +23,15 @@ override_dh_install: clean-tests
 	dh_install -Xtest.gtf.gz
 
 ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
+ifneq ($(DEB_HOST_ARCH),ppc64el)
 override_dh_auto_test: pysam_data.all cbcf_data.all
 	dh_auto_test
 else
 override_dh_auto_test:
 endif
+else
+override_dh_auto_test:
+endif
 
 override_dh_auto_clean:
 	dh_auto_clean

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/python-pysam.git



More information about the debian-med-commit mailing list