[python-fabio] 54/73: modernize the build system
Frédéric-Emmanuel Picca
picca at moszumanska.debian.org
Tue Jan 5 11:34:11 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 946933a1d8b65abe6e7572e1ba18236d8a3247e6
Author: Picca Frédéric-Emmanuel <picca at synchrotron-soleil.fr>
Date: Wed Jul 22 16:11:48 2015 +0200
modernize the build system
---
debian/control | 4 ++--
debian/rules | 17 ++++++-----------
2 files changed, 8 insertions(+), 13 deletions(-)
diff --git a/debian/control b/debian/control
index 6998b6c..b6082d4 100644
--- a/debian/control
+++ b/debian/control
@@ -16,8 +16,8 @@ Build-Depends: cython,
python-lxml-dbg,
python-numpy,
python-numpy-dbg,
- python-setuptools
-Build-Depends-Indep: python-sphinx (>= 1.0.7+dfsg-1~)
+ python-setuptools,
+ python-sphinx (>= 1.0.7+dfsg-1~)
Standards-Version: 3.9.5
Vcs-Browser: http://git.epn-campus.eu/projects/fabio/repository
Vcs-Git: git://git@git.epn-campus.eu:python-fabio
diff --git a/debian/rules b/debian/rules
index 7e64b9d..59d05df 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,15 +1,9 @@
#!/usr/bin/make -f
-export DH_VERBOSE=1
export PYBUILD_NAME=fabio
-PY2VERS = $(shell pyversions -r -v)
-
-# to build without sphinxdoc
-WITH_SPHINXDOC = $(shell if [ -x /usr/bin/dh_sphinxdoc ]; then echo "--with sphinxdoc"; fi)
-
%:
- dh $@ --with python2 --buildsystem=pybuild $(WITH_SPHINXDOC)
+ dh $@ --with python2,sphinxdoc --buildsystem=pybuild
override_dh_clean:
# remove the cython generated files distributed by upstream
@@ -18,14 +12,15 @@ override_dh_clean:
rm -rf *.egg-info
dh_clean
-override_dh_auto_build-indep:
+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 # HTML generator
-override_dh_auto_test:
- PYBUILD_SYSTEM=custom \
- PYBUILD_TEST_ARGS="PYTHONPATH={build_dir} {interpreter} test/test_all.py" dh_auto_test
+# unactive test for now
+#override_dh_auto_test:
+# PYBUILD_SYSTEM=custom \
+# PYBUILD_TEST_ARGS="PYTHONPATH={build_dir} {interpreter} test/test_all.py" dh_auto_test
override_dh_install:
dh_numpy
--
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