[med-svn] [Git][med-team/python-parasail][master] Fix package to find libparasail.so from the system
Nilesh Patra
gitlab at salsa.debian.org
Wed Apr 22 21:19:15 BST 2020
Nilesh Patra pushed to branch master at Debian Med / python-parasail
Commits:
08e34293 by Nilesh Patra at 2020-04-23T01:47:33+05:30
Fix package to find libparasail.so from the system
- - - - -
3 changed files:
- + debian/patches/find-parasail-so-file-from-system.patch
- + debian/patches/series
- debian/rules
Changes:
=====================================
debian/patches/find-parasail-so-file-from-system.patch
=====================================
@@ -0,0 +1,33 @@
+Description: Fix package to find libparasail.so from the system
+Author: Nilesh Patra <npatra974 at gmail.com>
+Last-Update: Thu, 23 Apr 2020 01:41:10 +0530
+
+--- a/parasail/__init__.py
++++ b/parasail/__init__.py
+@@ -43,7 +43,7 @@
+ global _lib
+ global _libpath
+ _libpath = None
+- for env_var in ["PARASAIL_LIBPATH", "LD_LIBRARY_PATH", "DYLD_LIBRARY_PATH", "PATH"]:
++ for env_var in ["PARASAIL_LIBPATH", "LD_LIBRARY_PATH", "DYLD_LIBRARY_PATH", "PATH", "DEB_HOST_MULTIARCH"]:
+ if env_var in os.environ:
+ if _verbose: print("searching {} for {}".format(env_var,_libname))
+ for path in re.split("[:;]", os.environ[env_var]):
+--- a/setup.py
++++ b/setup.py
+@@ -422,7 +422,6 @@
+
+ class bdist_wheel(bdist_wheel_):
+ def run(self):
+- prepare_shared_lib()
+ bdist_wheel_.run(self)
+
+ def finalize_options(self):
+@@ -433,7 +432,6 @@
+
+ class install(install_):
+ def run(self):
+- prepare_shared_lib()
+ install_.run(self)
+
+
=====================================
debian/patches/series
=====================================
@@ -0,0 +1 @@
+find-parasail-so-file-from-system.patch
=====================================
debian/rules
=====================================
@@ -20,10 +20,6 @@ include /usr/share/dpkg/default.mk
%:
dh $@ --with python3 --buildsystem=pybuild
-override_dh_auto_build:
- ln -s /usr/lib/$(DEB_HOST_MULTIARCH)/libparasail.so parasail
- dh_auto_build
-
### When overriding auto_test make sure DEB_BUILD_OPTIONS will be respected
#override_dh_auto_test:
#ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
View it on GitLab: https://salsa.debian.org/med-team/python-parasail/-/commit/08e342932f9c4b0f73d4a936ee8199940e7897d4
--
View it on GitLab: https://salsa.debian.org/med-team/python-parasail/-/commit/08e342932f9c4b0f73d4a936ee8199940e7897d4
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20200422/c939a9b6/attachment-0001.html>
More information about the debian-med-commit
mailing list