From: Mattia Rizzolo Date: Tue, 24 Oct 2017 16:25:30 +0000 (+0200) Subject: Skip tests on ppc64el to avoid build-dep on bcftools currently uninstallable X-Git-Tag: archive/raspbian/0.22.0+ds-1+rpi1~1^2^2~157 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=6720bc51c0e9711a141b54ef785b5da52c27f0f5;p=python-pysam.git 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 --- 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 , samtools (>= 1.5) , - bcftools (>= 1.5) , + bcftools (>= 1.5) [!ppc64el] , python-pytest , python3-pytest , 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