[med-svn] r17740 - trunk/packages/python-biopython/trunk/debian

Andreas Tille tille at moszumanska.debian.org
Fri Aug 15 10:25:35 UTC 2014


Author: tille
Date: 2014-08-15 10:25:35 +0000 (Fri, 15 Aug 2014)
New Revision: 17740

Modified:
   trunk/packages/python-biopython/trunk/debian/changelog
   trunk/packages/python-biopython/trunk/debian/control
   trunk/packages/python-biopython/trunk/debian/rules
Log:
Try to get the package finally build on all architectures by skiping test on mips architecture which is known to fail and versioned (Build-)Depends wise


Modified: trunk/packages/python-biopython/trunk/debian/changelog
===================================================================
--- trunk/packages/python-biopython/trunk/debian/changelog	2014-08-15 08:11:47 UTC (rev 17739)
+++ trunk/packages/python-biopython/trunk/debian/changelog	2014-08-15 10:25:35 UTC (rev 17740)
@@ -1,3 +1,12 @@
+python-biopython (1.64+dfsg-3) unstable; urgency=medium
+
+  * Skip test on mips architecture which is known to fail
+  * Versioned (Build-)Depends wise (>= 2.4.1-16) to make sure tests
+    will pass on each architecture (problems with previous wise on
+    powerpc, s390x)
+
+ -- Andreas Tille <tille at debian.org>  Fri, 15 Aug 2014 11:41:23 +0200
+
 python-biopython (1.64+dfsg-2) unstable; urgency=medium
 
   * Use HOME in build_dir for testing (thanks to Jakub Wilk <jwilk at debian.org>

Modified: trunk/packages/python-biopython/trunk/debian/control
===================================================================
--- trunk/packages/python-biopython/trunk/debian/control	2014-08-15 08:11:47 UTC (rev 17739)
+++ trunk/packages/python-biopython/trunk/debian/control	2014-08-15 10:25:35 UTC (rev 17740)
@@ -41,7 +41,7 @@
                python3-psycopg2,
                raxml [any-amd64],
                t-coffee,
-               wise
+               wise (>= 2.4.1-16)
 # python-rdflib (>= 4)  # only in experimental
 # python3-rdflib (>= 4) # only in experimental
 Standards-Version: 3.9.5
@@ -89,7 +89,7 @@
           python3-psycopg2,
           raxml,
           t-coffee,
-          wise
+          wise (>= 2.4.1-16)
 # python-rdflib (>= 4)  # only in experimental
 Description: Python library for bioinformatics (implemented in Python 2)
  The Biopython Project is an international association
@@ -145,7 +145,7 @@
           python3-psycopg2,
           raxml,
           t-coffee,
-          wise
+          wise (>= 2.4.1-16)
 # python3-rdflib (>= 4) # only in experimental
 Description: Python library for bioinformatics (implemented in Python 3)
  The Biopython Project is an international association

Modified: trunk/packages/python-biopython/trunk/debian/rules
===================================================================
--- trunk/packages/python-biopython/trunk/debian/rules	2014-08-15 08:11:47 UTC (rev 17739)
+++ trunk/packages/python-biopython/trunk/debian/rules	2014-08-15 10:25:35 UTC (rev 17740)
@@ -53,6 +53,16 @@
 	dh_numpy3 -ppython3-biopython
 
 override_dh_auto_test:
+ifeq ($(BUILDARCH),mips)
+	echo "***************************************************************************"
+	echo "* Attention: Build time tests for mips architecture are skipped.          *"
+	echo "* The reason is that the tests are known to fail for Python3 and the      *"
+	echo "* effort to simply run only for Python 2.7 seems to be error prone.       *"
+	echo "* Upstream is working on a solution so this should be dropped for         *"
+	echo "* next upstream version. See:                                             *"
+	echo "* http://mailman.open-bio.org/pipermail/biopython/2014-August/015383.html *"
+	echo "***************************************************************************"
+else
 	mkdir -p Tests_avoid
 	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) $(EXCLUDEARCHamd64) $(EXCLUDEDATABASE) $(EXCLUDERDFLIB) $(EXCLUDEFAILINGTESTS) \
@@ -78,6 +88,7 @@
                              env DIALIGN2_DIR=/usr/share/dialign EMBOSS_ROOT=/usr/lib/emboss HOME={build_dir}/home {interpreter} run_tests.py --offline'
 	mv Tests_avoid/* Tests
 	rmdir Tests_avoid
+endif
 
 override_dh_installdocs-indep:
 	dh_installdocs




More information about the debian-med-commit mailing list