[pyferret] 99/110: nasty hack for setup.py error linking against libpython3.5.so

Alastair McKinstry mckinstry at moszumanska.debian.org
Fri Jul 28 08:42:25 UTC 2017


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

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

commit eab2eec099af600c551f8826c5a1dd3af3bc854c
Author: Alastair McKinstry <mckinstry at debian.org>
Date:   Mon Jun 26 13:41:42 2017 +0100

    nasty hack for setup.py error linking against libpython3.5.so
---
 debian/rules | 1 +
 1 file changed, 1 insertion(+)

diff --git a/debian/rules b/debian/rules
index 39fef76..d300ce2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -41,6 +41,7 @@ override_dh_auto_install:
 	# Doing it any earlier, and dh_prep will remove debian/tmp. 
 	# This means I'm also doing 'test' after the Install, not between during make & install. gack.
 	for p in $(PY2) $(PY3) ; do \
+		( cd ./lib && ln -sf /usr/lib/$(ARCH)/lib$(PY3)m.so lib$(PY3).so ) ; \
 		$(MAKE) HOSTTYPE=debian PYTHON_EXE=$$p clean all install ; \
 		done
 	find debian -name '*.pyo' -o -name '*.pyc' -delete

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



More information about the debian-science-commits mailing list