[med-svn] r16424 - trunk/packages/python-biopython/trunk/debian
Andreas Tille
tille at moszumanska.debian.org
Tue Mar 11 22:01:36 UTC 2014
Author: tille
Date: 2014-03-11 22:01:36 +0000 (Tue, 11 Mar 2014)
New Revision: 16424
Modified:
trunk/packages/python-biopython/trunk/debian/control
trunk/packages/python-biopython/trunk/debian/rules
Log:
Run bwa test on amd64 architectures
Modified: trunk/packages/python-biopython/trunk/debian/control
===================================================================
--- trunk/packages/python-biopython/trunk/debian/control 2014-03-11 21:02:23 UTC (rev 16423)
+++ trunk/packages/python-biopython/trunk/debian/control 2014-03-11 22:01:36 UTC (rev 16424)
@@ -14,6 +14,7 @@
python-numpy,
python3-reportlab,
python3-numpy,
+ bwa [any-amd64],
clustalo,
clustalw,
dialign,
Modified: trunk/packages/python-biopython/trunk/debian/rules
===================================================================
--- trunk/packages/python-biopython/trunk/debian/rules 2014-03-11 21:02:23 UTC (rev 16423)
+++ trunk/packages/python-biopython/trunk/debian/rules 2014-03-11 22:01:36 UTC (rev 16424)
@@ -7,6 +7,13 @@
#export PYBUILD_DESTDIR_python2=debian/python-biopython/
#export PYBUILD_DESTDIR_python3=debian/python3-biopython/
+BUILDARCH := $(shell dpkg-architecture -qDEB_BUILD_ARCH)
+ifeq ($(BITARCH),amd64)
+ EXCLUDEBWA=""
+else
+ EXCLUDEBWA="BWA_tool"
+endif
+
%:
dh $@ --with python2,python3 --buildsystem=pybuild
@@ -19,6 +26,7 @@
# 1. avoid some tests which need online access
# 2. avoid PAML_tools and EmbossPhylipNew since paml resp. embassy-phylip are non-free
# 3. avoid testing tools that are not packaged for Debian yet
+ # 4. avoid amd64 only tools on other architectures
# While 2. and 3. do not create errors there is no point in bloating
# the build log and this kind of documentation makes things more transparent
mkdir -p Tests_avoid
@@ -26,6 +34,7 @@
Entrez_online HotRand NCBI_qblast SCOP_online SeqIO_online TogoWS \
PAML_tools EmbossPhylipNew \
MSAProbs_tool NACCESS_tool PopGen_DFDist PopGen_FDist PopGen_GenePop PopGen_GenePop_EasyController PopGen_SimCoal XXmotif_tool \
+ $(EXCLUDEBWA) \
; do \
mv Tests/test_$${avoid}.py Tests_avoid ; \
done
More information about the debian-med-commit
mailing list