[pyoperators] 09/12: d/rules: move calls to dh_numpy to dh_python overrides.

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Wed Jun 8 14:23:22 UTC 2016


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

ghisvail-guest pushed a commit to branch master
in repository pyoperators.

commit 187031c72d557f5bb38997d8ae4dfefb82eadf15
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Tue Jun 7 17:41:37 2016 +0100

    d/rules: move calls to dh_numpy to dh_python overrides.
---
 debian/rules | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index e1489f4..946b23e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,8 +2,6 @@
 
 export DH_VERBOSE=1
 export PYBUILD_NAME=pyoperators
-export PYBUILD_AFTER_INSTALL_python2=dh_numpy
-export PYBUILD_AFTER_INSTALL_python3=dh_numpy3
 
 %:
 	dh $@ --with python2,python3 --buildsystem=pybuild
@@ -11,3 +9,11 @@ export PYBUILD_AFTER_INSTALL_python3=dh_numpy3
 override_dh_auto_clean:
 	dh_auto_clean
 	find pyoperators/ -name "*.c" -delete
+
+override_dh_python2:
+	dh_python2
+	dh_numpy
+
+override_dh_python3:
+	dh_python3
+	dh_numpy3

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



More information about the debian-science-commits mailing list