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

misterc-guest pushed a commit to branch master
in repository khmer.

commit c76d6be5e8408a1251e9ff161ac75d2766445779
Author: Michael R. Crusoe <[email protected]>
Date:   Mon Aug 10 20:23:25 2015 -0700

    try setting the PYTHONPATH
---
 debian/rules | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/debian/rules b/debian/rules
index 710071d..99e95fc 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,6 @@
 #!/usr/bin/make -f
 export DH_VERBOSE=1
 export PYBUILD_NAME=khmer
-export PYBUILD_SYSTEM=distutils
 export PYBUILD_INSTALL_ARGS='--install-scripts=/usr/lib/khmer/bin'
 export PYBUILD_DESTDIR_python3=debian/khmer
 
@@ -23,10 +22,11 @@ override_dh_auto_build:
        cd lib && $(MAKE) clean all
 
 override_dh_auto_test:
+       dh_auto_install
        PYBUILD_SYSTEM=custom \
-         PYBUILD_TEST_ARGS="cd {dir}; {interpreter} setup.py develop --user; \
-         {interpreter} setup.py nosetests \
-         --attr '!known_failing,!jenkins,!huge'" dh_auto_test
+           PYBUILD_TEST_ARGS="cd {dir}; export 
PATH={destdir}/usr/lib/khmer/bin:$$PATH ; \
+           cd {build_dir}; {interpreter} -m nose --attr \
+           '!known_failing,!jenkins,!huge'" dh_auto_test
 
 
 override_dh_auto_clean:

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

_______________________________________________
debian-med-commit mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to