[med-svn] [jellyfish] 06/10: run tests individually using pybuild (see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=819016#25)

Andreas Tille tille at debian.org
Tue Aug 30 12:29:11 UTC 2016


This is an automated email from the git hooks/post-receive script.

tille pushed a commit to branch master
in repository jellyfish.

commit 8ca24f07cc394339f54594be4b097a314caa4fbd
Author: Andreas Tille <tille at debian.org>
Date:   Tue Aug 30 13:48:09 2016 +0200

    run tests individually using pybuild (see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=819016#25)
---
 debian/rules | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 5d9557e..3fbb357 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,6 +13,7 @@ export PKG_CONFIG_LIBDIR=${CURDIR}
 export PKG_CONFIG_ALLOW_SYSTEM_LIBS=true
 export PKG_CONFIG_SYSROOT_DIR=${CURDIR}/debian/tmp/
 export PERL_MM_OPT=INSTALLDIRS=vendor
+export PYBUILD_BUILD_ARGS=build_ext --rpath "${CURDIR}/debian/tmp/usr/lib/${DEB_HOST_MULTIARCH}"
 
 %:
 	dh $@ --with autoreconf,python3 #--parallel
@@ -23,7 +24,10 @@ override_dh_auto_install:
 override_dh_install:
 	# dh_install -X*.a -X*.la -Xpkgconfig
 	dh_install -ppython3-jellyfish
-	pybuild -d swig/python --name jellyfish
+	pybuild -d swig/python --name jellyfish --disable test/python3
+	pybuild -d swig/python --name jellyfish --test --test-args "${CURDIR}/swig/python/ test_string_mers.py"
+	pybuild -d swig/python --name jellyfish --test --test-args "${CURDIR}/swig/python/ test_hash_counter.py"
+	chrpath --delete debian/python3-jellyfish/usr/lib/python*/dist-packages/_dna_jellyfish*.so
 	
 	dh_auto_configure --sourcedirectory=swig/perl5
 	dh_auto_build --sourcedirectory=swig/perl5

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/jellyfish.git



More information about the debian-med-commit mailing list