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

Andreas Tille tille at moszumanska.debian.org
Tue Mar 4 20:20:25 UTC 2014


Author: tille
Date: 2014-03-04 20:20:25 +0000 (Tue, 04 Mar 2014)
New Revision: 16386

Modified:
   trunk/packages/python-biopython/trunk/debian/control
   trunk/packages/python-biopython/trunk/debian/rules
Log:
More verbose testing by installing some more tools as Build-Depends to enable testing these on one hand and excluding some tests in need of online connection


Modified: trunk/packages/python-biopython/trunk/debian/control
===================================================================
--- trunk/packages/python-biopython/trunk/debian/control	2014-03-04 19:18:24 UTC (rev 16385)
+++ trunk/packages/python-biopython/trunk/debian/control	2014-03-04 20:20:25 UTC (rev 16386)
@@ -12,9 +12,15 @@
                flex,
                python-reportlab,
                python-numpy,
-               python-mysqldb,
                python3-reportlab,
                python3-numpy,
+               bwa,
+               muscle,
+               ncbi-blast+,
+               python-mysqldb,
+               python-psycopg2,
+               python3-psycopg2,
+               t-coffee,
                wise
 Standards-Version: 3.9.5
 Vcs-Browser: http://anonscm.debian.org/viewvc/debian-med/trunk/packages/python-biopython/trunk/

Modified: trunk/packages/python-biopython/trunk/debian/rules
===================================================================
--- trunk/packages/python-biopython/trunk/debian/rules	2014-03-04 19:18:24 UTC (rev 16385)
+++ trunk/packages/python-biopython/trunk/debian/rules	2014-03-04 20:20:25 UTC (rev 16386)
@@ -15,5 +15,12 @@
 	dh_numpy -ppython-biopython
 	dh_numpy3 -ppython3-biopython
 
-override_dh_auto_test:                                                                                                                                                               
+override_dh_auto_test:
+	# avoid some tests which need online access
+	mkdir -p Tests_avoid
+	for avoid in Entrez_online ; do \
+	    mv Tests/test_$${avoid}.py Tests_avoid ; \
+	done
 	dh_auto_test -- --test --system=custom --test-args='env PYTHONPATH={build_dir} {interpreter} setup.py test'
+	mv Tests_avoid/* Tests
+	rmdir Tests_avoid




More information about the debian-med-commit mailing list