[h5py] 01/03: d/p/*: add patch to avoid install dep on Cython

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Tue Apr 14 12:07:07 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 077e86052f791abefeacac20e381ce105001b89c
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Tue Apr 14 11:14:21 2015 +0100

    d/p/*: add patch to avoid install dep on Cython
---
 debian/patches/0002-prevent-cython-dep.patch | 11 +++++++++++
 debian/patches/series                        |  1 +
 2 files changed, 12 insertions(+)

diff --git a/debian/patches/0002-prevent-cython-dep.patch b/debian/patches/0002-prevent-cython-dep.patch
new file mode 100644
index 0000000..4c5f2b6
--- /dev/null
+++ b/debian/patches/0002-prevent-cython-dep.patch
@@ -0,0 +1,11 @@
+--- h5py.orig/setup.py
++++ h5py/setup.py
+@@ -142,7 +142,7 @@
+   packages = ['h5py', 'h5py._hl', 'h5py.tests', 'h5py.tests.old', 'h5py.tests.hl'],
+   package_data = package_data,
+   ext_modules = [Extension('h5py.x',['x.c'])],  # To trick build into running build_ext
+-  requires = ['numpy (>=1.6.1)', 'Cython (>=0.17)'],
++  #requires = ['numpy (>=1.6.1)', 'Cython (>=0.17)'],
+   install_requires = ['numpy>=1.6.1', 'Cython>=0.17'],
+   cmdclass = CMDCLASS,
+ )
diff --git a/debian/patches/series b/debian/patches/series
index 3efdd72..7b3ea52 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 #drop-mpiposix.patch
+0002-prevent-cython-dep.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