[lmfit-py] 03/04: refresh rules
Frédéric-Emmanuel Picca
picca at moszumanska.debian.org
Sat Oct 15 08:32:24 UTC 2016
This is an automated email from the git hooks/post-receive script.
picca pushed a commit to branch master
in repository lmfit-py.
commit 3d03efc3862144a0f0f96182c685c79bf61dc9ee
Author: Picca Frédéric-Emmanuel <picca at debian.org>
Date: Sat Oct 15 09:01:20 2016 +0200
refresh rules
---
debian/rules | 13 ++-----------
1 file changed, 2 insertions(+), 11 deletions(-)
diff --git a/debian/rules b/debian/rules
index b93571e..e280670 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,6 +14,8 @@ export PYBUILD_NAME=lmfit
# copy the tests to the build dir to be able to pass nose
export PYBUILD_AFTER_BUILD=cp -r NIST_STRD {build_dir}
export PYBUILD_BEFORE_INSTALL=rm -fr {build_dir}/NIST_STRD
+export PYBUILD_AFTER_INSTALL_python2=dh_numpy
+export PYBUILD_AFTER_INSTALL_python3=dh_numpy3
%:
dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
@@ -23,17 +25,6 @@ override_dh_clean:
rm -rf doc/_static/conf_interval.png
dh_clean
-override_dh_install:
- dh_install
- dh_numpy
- dh_numpy3
-
override_dh_auto_build:
dh_auto_build
PYTHONPATH=. http_proxy='localhost' sphinx-build -N -bhtml doc/ build/html # HTML generator
-
-## should be removed once #749506 solved
-override_dh_auto_test:
- PYBUILD_SYSTEM=custom \
- PYBUILD_TEST_ARGS='cd {build_dir} && {interpreter} -m nose' \
- dh_auto_test --buildsystem=pybuild
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/lmfit-py.git
More information about the debian-science-commits
mailing list