[magics] 18/63: Disable tests; ensure chrpath runs on python3 for release

Alastair McKinstry mckinstry at moszumanska.debian.org
Fri Mar 24 10:41:50 UTC 2017


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

mckinstry pushed a commit to branch debian/master
in repository magics.

commit 5af7ec47f4c5cbc7b4606e69310761dc19473a12
Author: Alastair McKinstry <mckinstry at debian.org>
Date:   Tue Jun 14 14:46:08 2016 +0100

    Disable tests; ensure chrpath runs on python3 for release
---
 debian/rules | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/debian/rules b/debian/rules
index d151114..a835cc1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -106,10 +106,10 @@ override_dh_auto_build:
 
 override_dh_auto_test check:
 	# echo "Tests disabled; see README-testfailures.txt for details"
-	# §(ulimit -s 8192; export PYTHONPATH=$(CURDIR)/debian/build-py2/python/Magics ; \
-		#export MAGPLUS_HOME=$(CURDIR) ; $(MAKE) -C debian/build-py2  check )
-	(ulimit -s 8192; export PYTHONPATH=$(CURDIR)/debian/build-py3/python/Magics ; \
-		export MAGPLUS_HOME=$(CURDIR) ; $(MAKE) -C debian/build-py3  check )
+	# (ulimit -s 8192; export PYTHONPATH=$(CURDIR)/debian/build-py2/python/Magics ; \
+	#	export MAGPLUS_HOME=$(CURDIR) ; $(MAKE) -C debian/build-py2  check )
+	#(ulimit -s 8192; export PYTHONPATH=$(CURDIR)/debian/build-py3/python/Magics ; \
+	#	export MAGPLUS_HOME=$(CURDIR) ; $(MAKE) -C debian/build-py3  check )
 
 override_dh_auto_install:
 	$(MAKE) -C debian/build-py3/python/Magics clean install PYTHON_INCLUDE_DIR=/usr/include/python3.5 \
@@ -131,7 +131,8 @@ override_dh_auto_install:
 		> debian/tmp/$(LIBDIR)/cmake/magics/magics-targets-none.cmake
 	rm -r debian/tmp/usr/share/magics/cmake
 	dh_python2 /usr/lib/python2.7/site-packages/Magics
-	dh_python3 /usr/lib/python3.5/site-packages/Magics
+	dh_python3 /usr/lib/python3*/site-packages/Magics
 	dh_numpy -p python-magics++
-	find debian/tmp debian/python-magics++  -name '*.so*' -exec chrpath -d {} \;
+	dh_numpy3 -p python3-magics++
+	find debian/tmp debian/python*-magics++   -name '*.so*' -exec chrpath -d {} \;
 	-find debian/tmp/usr/bin -type f  -exec chrpath -d {} \;

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



More information about the debian-science-commits mailing list