summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-04-13 17:29:16 +0800
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-04-13 17:31:41 +0800
commit540636e549f1e423bdfb05dc128ff5a6ea96572d (patch)
tree6858ae58e80438c6b136219e484ca3e2d4f2d18c
parentgraphics/py-tifffile: Update to 2024.2.12 (diff)
science/py-h5py: Update to 3.11.0
Changes: https://github.com/h5py/h5py/releases https://github.com/h5py/h5py/tree/master/docs/whatsnew https://docs.h5py.org/en/stable/whatsnew/index.html
-rw-r--r--science/py-h5py/Makefile6
-rw-r--r--science/py-h5py/distinfo6
-rw-r--r--science/py-h5py/files/patch-pyproject.toml9
-rw-r--r--science/py-h5py/pkg-plist1
4 files changed, 11 insertions, 11 deletions
diff --git a/science/py-h5py/Makefile b/science/py-h5py/Makefile
index d1f9b71e5541..44d248b12fc4 100644
--- a/science/py-h5py/Makefile
+++ b/science/py-h5py/Makefile
@@ -1,6 +1,5 @@
PORTNAME= h5py
-PORTVERSION= 3.10.0
-PORTREVISION= 1
+PORTVERSION= 3.11.0
CATEGORIES= science python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -13,8 +12,7 @@ WWW= https://www.h5py.org/ \
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/licenses/license.txt
-BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cython>=0.29.31<1:lang/cython@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} \
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pkgconfig>=0,1:devel/py-pkgconfig@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
diff --git a/science/py-h5py/distinfo b/science/py-h5py/distinfo
index 25b4451cf938..6011d3a72777 100644
--- a/science/py-h5py/distinfo
+++ b/science/py-h5py/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1696915330
-SHA256 (h5py-3.10.0.tar.gz) = d93adc48ceeb33347eb24a634fb787efc7ae4644e6ea4ba733d099605045c049
-SIZE (h5py-3.10.0.tar.gz) = 403716
+TIMESTAMP = 1712886452
+SHA256 (h5py-3.11.0.tar.gz) = 7b7e8f78072a2edec87c9836f25f34203fd492a4475709a18b417a33cfb21fa9
+SIZE (h5py-3.11.0.tar.gz) = 406519
diff --git a/science/py-h5py/files/patch-pyproject.toml b/science/py-h5py/files/patch-pyproject.toml
index 9568f19589d1..2558efdd5a4f 100644
--- a/science/py-h5py/files/patch-pyproject.toml
+++ b/science/py-h5py/files/patch-pyproject.toml
@@ -1,10 +1,11 @@
---- pyproject.toml.orig 2023-10-04 09:21:14 UTC
+--- pyproject.toml.orig 2024-04-05 09:38:21 UTC
+++ pyproject.toml
-@@ -1,7 +1,7 @@ requires = [
+@@ -1,8 +1,7 @@ requires = [
[build-system]
requires = [
- "Cython >=0.29.31,<1",
-- "oldest-supported-numpy",
+ "Cython >=0.29.31,<4",
+- "oldest-supported-numpy; python_version=='3.8'",
+- "numpy >=2.0.0rc1; python_version>='3.9'",
+ "numpy",
"pkgconfig",
"setuptools >=61",
diff --git a/science/py-h5py/pkg-plist b/science/py-h5py/pkg-plist
index 28c2e2cfd840..8b443768439d 100644
--- a/science/py-h5py/pkg-plist
+++ b/science/py-h5py/pkg-plist
@@ -38,6 +38,7 @@
%%PORTDOCS%%%%DOCSDIR%%/whatsnew/3.0.rst
%%PORTDOCS%%%%DOCSDIR%%/whatsnew/3.1.rst
%%PORTDOCS%%%%DOCSDIR%%/whatsnew/3.10.rst
+%%PORTDOCS%%%%DOCSDIR%%/whatsnew/3.11.rst
%%PORTDOCS%%%%DOCSDIR%%/whatsnew/3.2.rst
%%PORTDOCS%%%%DOCSDIR%%/whatsnew/3.3.rst
%%PORTDOCS%%%%DOCSDIR%%/whatsnew/3.4.rst