pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-h5py



Module Name:    pkgsrc
Committed By:   nia
Date:           Fri Jun 18 12:15:22 UTC 2021

Modified Files:
        pkgsrc/devel/py-h5py: distinfo
Added Files:
        pkgsrc/devel/py-h5py/patches: patch-setup.py

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


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/devel/py-h5py/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-h5py/patches/patch-setup.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-h5py/distinfo
diff -u pkgsrc/devel/py-h5py/distinfo:1.7 pkgsrc/devel/py-h5py/distinfo:1.8
--- pkgsrc/devel/py-h5py/distinfo:1.7   Mon Jun  7 11:57:50 2021
+++ pkgsrc/devel/py-h5py/distinfo       Fri Jun 18 12:15:22 2021
@@ -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

Added files:

Index: pkgsrc/devel/py-h5py/patches/patch-setup.py
diff -u /dev/null pkgsrc/devel/py-h5py/patches/patch-setup.py:1.1
--- /dev/null   Fri Jun 18 12:15:22 2021
+++ pkgsrc/devel/py-h5py/patches/patch-setup.py Fri Jun 18 12:15:22 2021
@@ -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