[med-svn] r16788 - trunk/packages/python-biopython/trunk/debian
Andreas Tille
tille at moszumanska.debian.org
Fri Apr 25 13:36:19 UTC 2014
Author: tille
Date: 2014-04-25 13:36:19 +0000 (Fri, 25 Apr 2014)
New Revision: 16788
Modified:
trunk/packages/python-biopython/trunk/debian/control
trunk/packages/python-biopython/trunk/debian/rules
Log:
Additional Build-Depends: python-imaging; We need python-rdflib (>=4) - deactivate the test until we detect that this version is available
Modified: trunk/packages/python-biopython/trunk/debian/control
===================================================================
--- trunk/packages/python-biopython/trunk/debian/control 2014-04-25 13:12:36 UTC (rev 16787)
+++ trunk/packages/python-biopython/trunk/debian/control 2014-04-25 13:36:19 UTC (rev 16788)
@@ -33,6 +33,7 @@
python-numpy,
python3-numpy,
python-pil,
+ python-imaging,
python3-pil,
python-rdflib,
python-renderpm,
@@ -42,6 +43,8 @@
raxml,
t-coffee,
wise
+# python-rdflib (>= 4) # only in experimental
+# python3-rdflib (>= 4) # only in experimental
Standards-Version: 3.9.5
Vcs-Browser: http://anonscm.debian.org/viewvc/debian-med/trunk/packages/python-biopython/trunk/
Vcs-Svn: svn://anonscm.debian.org/debian-med/trunk/packages/python-biopython/trunk/
@@ -88,6 +91,7 @@
raxml,
t-coffee,
wise
+# python-rdflib (>= 4) # only in experimental
Description: Python library for bioinformatics (implemented in Python 2)
The Biopython Project is an international association
of developers of freely available Python tools for
@@ -143,6 +147,7 @@
raxml,
t-coffee,
wise
+# python3-rdflib (>= 4) # only in experimental
Description: Python library for bioinformatics (implemented in Python 3)
The Biopython Project is an international association
of developers of freely available Python tools for
Modified: trunk/packages/python-biopython/trunk/debian/rules
===================================================================
--- trunk/packages/python-biopython/trunk/debian/rules 2014-04-25 13:12:36 UTC (rev 16787)
+++ trunk/packages/python-biopython/trunk/debian/rules 2014-04-25 13:36:19 UTC (rev 16788)
@@ -34,6 +34,10 @@
# This would not trigger a failure but bloats the build log with irrelevant noise
EXCLUDEDATABASE=BioSQL_MySQLdb BioSQL_psycopg2
+# The following test works only with python-rdflib (>= 4) which is in experimental
+# If python-rdflib (>= 4) then do not exclude it - otherwise we exclude this test
+EXCLUDERDFLIB=$(shell if dpkg --compare-versions `dpkg -l python-rdflib | grep ^ii | sed 's/ii *python-rdflib *\([-.0-9]\+\) *.*/\1/'` gt 4 ; then echo ""; else echo "Phylo_CDAO" ; fi)
+
# FIXME: These tests are failing for unknown reasons and this needs to be investigated
# specifically since test_ColorSpiral and test_trie are running when called manually
EXCLUDEFAILINGTESTS=GenomeDiagram Fasttree_tool Mafft_tool Tutorial ColorSpiral trie
@@ -48,7 +52,8 @@
override_dh_auto_test:
mkdir -p Tests_avoid
- for avoid in $(EXCLUDEONLINE) $(EXCLUDENONFREE) $(EXCLUDENOTPACKAGED) $(EXCLUDEBWA) $(EXCLUDEDATABASE) $(EXCLUDEFAILINGTESTS) \
+ if [ "$(EXCLUDERDFLIB)" != "" ] ; then echo "You might like to install python-rdflib from experimental to run Phylo_CDAO test" ; else echo "Phylo_CDAO will be done"; fi
+ for avoid in $(EXCLUDEONLINE) $(EXCLUDENONFREE) $(EXCLUDENOTPACKAGED) $(EXCLUDEBWA) $(EXCLUDEDATABASE) $(EXCLUDERDFLIB) $(EXCLUDEFAILINGTESTS) \
; do \
mv Tests/test_$${avoid}.py Tests_avoid ; \
done
More information about the debian-med-commit
mailing list