pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/py-h5py py-h5py: Fix numpy requirement in setup....



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c66a64308d22
branches:  trunk
changeset: 454768:c66a64308d22
user:      nia <nia%pkgsrc.org@localhost>
date:      Fri Jun 18 12:15:22 2021 +0000

description:
py-h5py: Fix numpy requirement in setup.py for pkgsrc-friendliness

diffstat:

 devel/py-h5py/distinfo               |   3 ++-
 devel/py-h5py/patches/patch-setup.py |  15 +++++++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (31 lines):

diff -r e3e648d0b5fa -r c66a64308d22 devel/py-h5py/distinfo
--- a/devel/py-h5py/distinfo    Fri Jun 18 12:04:16 2021 +0000
+++ b/devel/py-h5py/distinfo    Fri Jun 18 12:15:22 2021 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.7 2021/06/07 11:57:50 adam Exp $
+$NetBSD: distinfo,v 1.8 2021/06/18 12:15:22 nia Exp $
 
 SHA1 (h5py-3.2.1.tar.gz) = 9d7516decd129acada353a7fba3f77eb0476a810
 RMD160 (h5py-3.2.1.tar.gz) = 7f5f8c14ad7107b317974f427376685885e93860
 SHA512 (h5py-3.2.1.tar.gz) = c98f935f800f340239fdd5132534a3b79995dc952250521f0bd6972a60c34c21bb56d7ca3f1c655ad9d1e47fc5792f434f88a0919ae75bc9102e659bf4f1c284
 Size (h5py-3.2.1.tar.gz) = 368170 bytes
+SHA1 (patch-setup.py) = a1a2643b899224500368ec403d86089822ee6cda
diff -r e3e648d0b5fa -r c66a64308d22 devel/py-h5py/patches/patch-setup.py
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-h5py/patches/patch-setup.py      Fri Jun 18 12:15:22 2021 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-setup.py,v 1.1 2021/06/18 12:15:22 nia Exp $
+
+Do not require exact numpy version.
+
+--- setup.py.orig      2021-03-05 10:02:07.000000000 +0000
++++ setup.py
+@@ -49,7 +49,7 @@ SETUP_REQUIRES = [
+     "Cython >=0.29.14; python_version=='3.8'",
+     "Cython >=0.29.15; python_version>='3.9'",
+ ] + [
+-    f"numpy =={np_min}; python_version{py_condition}"
++    f"numpy >={np_min}; python_version{py_condition}"
+     for np_min, py_condition in NUMPY_MIN_VERSIONS
+ ]
+ 



Home | Main Index | Thread Index | Old Index