[python-escript] 03/04: Allow extraction of tests from src tree
Joel Fenwick
jfenwick-guest at moszumanska.debian.org
Tue Jun 21 03:05:27 UTC 2016
This is an automated email from the git hooks/post-receive script.
jfenwick-guest pushed a commit to branch debian
in repository python-escript.
commit 73c3165921abd169ad6ac1bb35f9d1fe1a1cc2af
Author: Joel Fenwick <joelfenwick at uq.edu.au>
Date: Tue Jun 21 09:40:13 2016 +1000
Allow extraction of tests from src tree
We need to preserve build directories to extract test files
after package building
---
debian/rules | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/debian/rules b/debian/rules
index 8d40703..0511085 100755
--- a/debian/rules
+++ b/debian/rules
@@ -81,7 +81,7 @@ override_dh_auto_build:
cp $(PROJROOT)/doc/manpage/man1/run-escript.1 $(WORKM)/run-escript2-mpi.man
ln $(WORKM)/bin/run-escript $(WORKM)/bin/run-escript2-mpi
find $(WORKM) -name '*.pyc' -print0| xargs -0 rm -f
- rm -rf $(BUILDM)
+ #rm -rf $(BUILDM)
# Build steps for py3
mkdir -p $(WORK3)
@@ -92,7 +92,7 @@ override_dh_auto_build:
cp $(PROJROOT)/doc/manpage/man1/run-escript.1 $(WORK3)/run-escript3.man
ln $(WORK3)/bin/run-escript $(WORK3)/bin/run-escript3
find $(WORK3) -name '*.pyc' -print0| xargs -0 rm -f
- rm -rf $(BUILD3)
+ #rm -rf $(BUILD3)
# Build steps for py3 with MPI
mkdir -p $(WORK3M)
@@ -103,14 +103,14 @@ override_dh_auto_build:
cp $(PROJROOT)/doc/manpage/man1/run-escript.1 $(WORK3M)/run-escript3-mpi.man
ln $(WORK3M)/bin/run-escript $(WORK3M)/bin/run-escript3-mpi
find $(WORK3M) -name '*.pyc' -print0| xargs -0 rm -f
- rm -rf $(BUILD3M)
+ #rm -rf $(BUILD3M)
# fix paths in each package and
# fix some external links in the doc package
debian/utils/tweak.sh "$(WORK)" "$(WORKM)" "$(WORK3)" "$(WORK3M)"
rm -f scons/templates/*.pyc
rm -f site_scons/*.pyc
- rm -f utest.sh itest.sh
+ rm -f utest.sh
override_dh_shlibdeps:
# so libraries we just built are checked as well
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/python-escript.git
More information about the debian-science-commits
mailing list