[amp] 04/18: Modified *.pyinstall and debian/rules.

Muammar El Khatib muammar at moszumanska.debian.org
Mon Jul 31 19:59:40 UTC 2017


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

muammar pushed a commit to branch master
in repository amp.

commit 5053da522e1c68d3aadc07a2948aaac896f3ae82
Author: Muammar El Khatib <muammarelkhatib at gmail.com>
Date:   Sat Jul 29 20:52:50 2017 -0400

    Modified *.pyinstall and debian/rules.
---
 debian/python-amp.pyinstall  | 1 +
 debian/python3-amp.pyinstall | 1 +
 debian/rules                 | 9 +++------
 3 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/debian/python-amp.pyinstall b/debian/python-amp.pyinstall
index ac71b0d..9a334e5 100644
--- a/debian/python-amp.pyinstall
+++ b/debian/python-amp.pyinstall
@@ -3,4 +3,5 @@ amp/descriptor/*.py
 amp/model/*.py
 amp/regression/*.py
 amp/*.so
+amp/fmodules.so
 tests/*.py
diff --git a/debian/python3-amp.pyinstall b/debian/python3-amp.pyinstall
index ac71b0d..481a011 100644
--- a/debian/python3-amp.pyinstall
+++ b/debian/python3-amp.pyinstall
@@ -3,4 +3,5 @@ amp/descriptor/*.py
 amp/model/*.py
 amp/regression/*.py
 amp/*.so
+amp/fmodules.cpython-35m-x86_64-linux-gnu.so
 tests/*.py
diff --git a/debian/rules b/debian/rules
index 420b1d1..f7baee0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,18 +10,15 @@ VER=$(shell dpkg-parsechangelog -ldebian/changelog -SVersion | cut -d- -f1)
 %:
 	dh $@ --with python2,python3
 
-override_dh_auto_build:
-	cd $(CURDIR)/amp/model; \
+override_dh_python2:
 	cd $(CURDIR)/amp/; \
 	make python2
-	cd $(CURDIR)/amp/; \
-	make python3
-
-override_dh_python2:
 	dh_python2
 	dh_numpy
 
 override_dh_python3:
+	cd $(CURDIR)/amp/; \
+	make python3
 	dh_python3
 	dh_numpy
 

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



More information about the debian-science-commits mailing list