[h5py] 05/08: d/p/*: add patch preventing usage of rpath

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Wed Apr 1 07:17:38 UTC 2015


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

ghisvail-guest pushed a commit to branch debian/experimental
in repository h5py.

commit 13d2914698d38c419e332eabaef17da3a93bc55f
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Wed Apr 1 00:10:48 2015 +0100

    d/p/*: add patch preventing usage of rpath
---
 debian/patches/0001-prevent-rpath.patch | 13 +++++++++++++
 debian/patches/series                   |  1 +
 2 files changed, 14 insertions(+)

diff --git a/debian/patches/0001-prevent-rpath.patch b/debian/patches/0001-prevent-rpath.patch
new file mode 100644
index 0000000..7b334cd
--- /dev/null
+++ b/debian/patches/0001-prevent-rpath.patch
@@ -0,0 +1,13 @@
+--- a/setup_build.py
++++ b/setup_build.py
+@@ -83,8 +83,8 @@
+             settings['library_dirs'].insert(0, op.join(config.hdf5, 'lib'))
+ 
+         # TODO: should this only be done on UNIX?
+-        if os.name != 'nt':
+-            settings['runtime_library_dirs'] = settings['library_dirs']
++        #if os.name != 'nt':
++        #    settings['runtime_library_dirs'] = settings['library_dirs']
+         
+         def make_extension(module):
+             sources = [localpath('h5py', module+'.pyx')] + EXTRA_SRC.get(module, [])
diff --git a/debian/patches/series b/debian/patches/series
index 0adf9ff..3efdd72 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 #drop-mpiposix.patch
+0001-prevent-rpath.patch

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



More information about the debian-science-commits mailing list