[pyfai] 06/22: update the rules file
Frédéric-Emmanuel Picca
picca at moszumanska.debian.org
Wed Jun 8 14:33:55 UTC 2016
This is an automated email from the git hooks/post-receive script.
picca pushed a commit to annotated tag debian/0.12.0+dfsg-1
in repository pyfai.
commit 7e1692973ccabf53ced7a00953e8aab3f9a0dfbe
Author: Picca Frédéric-Emmanuel <picca at synchrotron-soleil.fr>
Date: Tue Jun 7 14:45:23 2016 +0200
update the rules file
---
debian/rules | 20 ++++++++++++--------
1 file changed, 12 insertions(+), 8 deletions(-)
diff --git a/debian/rules b/debian/rules
index f6c197a..62951df 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,30 +7,34 @@ export PYBUILD_NAME=pyfai
override_dh_clean:
dh_clean
-# remove the cython generated file to force rebuild
- rm -f $(patsubst %.pyx,%.c,$(wildcard src/*.pyx))
+ rm -f $(patsubst %.pyx,%.c,$(wildcard pyFAI/ext/*.pyx))
rm -rf build/html
rm -rf *.egg-info
override_dh_auto_build:
dh_auto_build
PYBUILD_SYSTEM=custom \
- PYBUILD_BUILD_ARGS="PYTHONPATH={build_dir} http_proxy='localhost' sphinx-build -N -bhtml doc/source build/html" dh_auto_build # H
+ PYBUILD_BUILD_ARGS="PYTHONPATH={build_dir} http_proxy='localhost' sphinx-build -N -bhtml doc/source build/html" dh_auto_build
+
+# unactive test for now
+override_dh_auto_test:
+ PYBUILD_SYSTEM=custom \
+ PYBUILD_TEST_ARGS="PYTHONPATH={build_dir} PYFAI_TESTIMAGES=testimages PYFAI_DATA=$(shell pwd) {interpreter} ./run_tests.py" dh_auto_test
override_dh_install:
dh_numpy
dh_numpy3
- dh_install
-# move the scripts into fabio-viewer
+
+ # move the scripts to right package
dh_install -p pyfai debian/python-pyfai/usr/bin usr/
-# remove all scripts installed by pybuild
+ # remove all scripts installed by pybuild
rm -rf debian/python-pyfai/usr/bin
rm -rf debian/python-pyfai-dbg/usr/bin
rm -rf debian/python3-pyfai/usr/bin
rm -rf debian/python3-pyfai-dbg/usr/bin
-override_dh_auto_test:
-# dh_auto_test -- -s custom --test-args="env PYTHONPATH={build_dir} {interpreter} test/test_all.py"
+ # Finally install stuff
+ dh_install
override_dh_installman:
dh_installman -p pyfai doc/*.1
--
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