[med-svn] [python-pysam] 21/21: Disable setting rpath for compiled modules

Afif Elghraoui afif at moszumanska.debian.org
Sun Mar 6 07:57:41 UTC 2016


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

afif pushed a commit to branch master
in repository python-pysam.

commit 7d7c3d262ac7f9fbc9e42e280b713df514cded4f
Author: Afif Elghraoui <afif at ghraoui.name>
Date:   Sat Mar 5 20:21:04 2016 -0800

    Disable setting rpath for compiled modules
---
 debian/patches/rpath.patch | 22 ++++++++++++++++++++++
 debian/patches/series      |  1 +
 2 files changed, 23 insertions(+)

diff --git a/debian/patches/rpath.patch b/debian/patches/rpath.patch
new file mode 100644
index 0000000..b6fb0c8
--- /dev/null
+++ b/debian/patches/rpath.patch
@@ -0,0 +1,22 @@
+Description: Disable setting rpath
+Author: Afif Elghraoui <afif at debian.org>
+Forwarded: not-needed
+Last-Update: 2016-03-05
+--- python-pysam.orig/cy_build.py
++++ python-pysam/cy_build.py
+@@ -53,7 +53,7 @@
+             ext._init_func(ext)
+ 
+         if not self.inplace:
+-            ext.library_dirs.append(os.path.join(self.build_lib, "pysam"))
++            pass
+ 
+         if sys.platform == 'darwin':
+ 
+@@ -82,6 +82,5 @@
+             if not ext.extra_link_args:
+                 ext.extra_link_args = []
+ 
+-            ext.extra_link_args += ['-Wl,-rpath,$ORIGIN']
+                                     
+         build_ext.build_extension(self, ext)
diff --git a/debian/patches/series b/debian/patches/series
index 2417565..2e0c2ea 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 external-htslib.patch
 disable-tests-requiring-network.patch
+rpath.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/python-pysam.git



More information about the debian-med-commit mailing list