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

Andreas Tille tille at moszumanska.debian.org
Wed Mar 12 10:13:40 UTC 2014


Author: tille
Date: 2014-03-12 10:13:40 +0000 (Wed, 12 Mar 2014)
New Revision: 16433

Modified:
   trunk/packages/python-biopython/trunk/debian/rules
Log:
*really* make test of bwa architecture dependant; fix issue with empty __pycache__ dir


Modified: trunk/packages/python-biopython/trunk/debian/rules
===================================================================
--- trunk/packages/python-biopython/trunk/debian/rules	2014-03-12 06:08:27 UTC (rev 16432)
+++ trunk/packages/python-biopython/trunk/debian/rules	2014-03-12 10:13:40 UTC (rev 16433)
@@ -8,10 +8,10 @@
 #export PYBUILD_DESTDIR_python3=debian/python3-biopython/
 
 BUILDARCH := $(shell dpkg-architecture -qDEB_BUILD_ARCH)
-ifeq ($(BITARCH),amd64)
-    EXCLUDEBWA=""
+ifeq ($(BUILDARCH),amd64)
+    EXCLUDEBWA=
 else
-    EXCLUDEBWA="BWA_tool"
+    EXCLUDEBWA=BWA_tool
 endif
 
 %:
@@ -43,3 +43,7 @@
 	dh_auto_test -- --test --system=custom --test-args='env DIALIGN2_DIR=/usr/share/dialign EMBOSS_ROOT=/usr/lib/emboss PYTHONPATH={build_dir} {interpreter} setup.py test'
 	mv Tests_avoid/* Tests
 	rmdir Tests_avoid
+
+override_dh_installdocs:
+	dh_installdocs
+	find debian -name __pycache__ -type d | xargs rm -rf




More information about the debian-med-commit mailing list