[pyfai] 02/10: build twice in a row (almost)

Frédéric-Emmanuel Picca picca at moszumanska.debian.org
Mon Jan 13 23:05:29 UTC 2014


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

picca pushed a commit to branch experimental
in repository pyfai.

commit 7bc3bc86b3de1c687511523278fece9ba0460d9e
Author: Picca Frédéric-Emmanuel <picca at debian.org>
Date:   Sat Dec 28 11:19:59 2013 +0100

    build twice in a row (almost)
    
    the LaB6.poni file problem remain
---
 debian/rules | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 755f541..2c001cd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,6 +4,17 @@ export DH_VERBOSE=1
 
 PYVERS=$(shell pyversions -vs)
 
+override_dh_clean:
+	dh_clean
+
+	# remove test files
+	rm -f test/merged01-numpy_array.edf
+	rm -f test/tmp/testpeakPicking.npt
+	rm -f test/tmp/cython.dat
+	rm -f test/tmp/cythonSP.dat
+	rm -f test/tmp/numpy.dat
+	rm -f test/tmp/testpeakPicking.log
+
 override_dh_auto_install:
 	dh_auto_install
 	dh_numpy
@@ -13,7 +24,7 @@ override_dh_auto_test:
 ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
 	set -e -x; \
 	for py in $(PYVERS); do \
-		python$$py setup.py test;\
+		env http_proxy='localhost' python$$py setup.py test;\
 	done
 endif
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pyfai.git



More information about the debian-science-commits mailing list