[python-fabio] 11/11: fix build

Frédéric-Emmanuel Picca picca at moszumanska.debian.org
Wed Jul 27 18:20:28 UTC 2016


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

picca pushed a commit to branch master
in repository python-fabio.

commit 9f3d07f6e1f8ea3d68f3a975391870f059cc39c6
Author: Picca Frédéric-Emmanuel <picca at synchrotron-soleil.fr>
Date:   Wed Jul 27 20:20:07 2016 +0200

    fix build
---
 debian/rules | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/debian/rules b/debian/rules
index a000a80..ee6a398 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,8 @@
 #!/usr/bin/make -f
 
 export PYBUILD_NAME=fabio
+export PYBUILD_AFTER_INSTALL_python2=dh_numpy
+export PYBUILD_AFTER_INSTALL_python3=dh_numpy3
 export PYBUILD_AFTER_INSTALL=rm -rf {destdir}/usr/bin/
 
 %:
@@ -19,8 +21,6 @@ override_dh_auto_test:
 #	PYBUILD_TEST_ARGS="PYTHONPATH={build_dir} FABIO_TESTIMAGES=testimages {interpreter} ./run_tests.py" dh_auto_test
 
 override_dh_install:
-	dh_numpy
-	dh_numpy3
 	dh_install
 
         # install scripts into fabio-viewer
@@ -32,7 +32,7 @@ override_dh_installman:
 override_dh_sphinxdoc:
 ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS)))
 	PYBUILD_SYSTEM=custom \
-	PYBUILD_BUILD_ARGS="PYTHONPATH={build_dir} http_proxy='127.0.0.1:9' sphinx-build -N -bhtml doc/source build/html" dh_auto_build  # HTML generator
+	PYBUILD_BUILD_ARGS="PYTHONPATH={build_dir} http_proxy='127.0.0.1:9' {interpreter} -c \"import sys;from sphinx import main;sys.exit(main(sys.argv))\" -- -N -bhtml doc/source build/html" dh_auto_build  # HTML generator
 	dh_installdocs "build/html" -p python-fabio-doc
 	dh_sphinxdoc -O--buildsystem=pybuild
 endif

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



More information about the debian-science-commits mailing list