Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Oct 2024 14:24:22 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: c69810d6f5f2 - main - science/py-h5py: Update to 3.12.0
Message-ID:  <202410071424.497EOMGv030502@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c69810d6f5f220cd4163c5323000a54c956f99fb

commit c69810d6f5f220cd4163c5323000a54c956f99fb
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-10-07 13:51:51 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-10-07 14:16:48 +0000

    science/py-h5py: Update to 3.12.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
---
 science/py-h5py/Makefile                   | 6 +++---
 science/py-h5py/distinfo                   | 6 +++---
 science/py-h5py/files/patch-pyproject.toml | 7 +++----
 science/py-h5py/files/patch-pytest.ini     | 8 ++++----
 science/py-h5py/pkg-plist                  | 1 +
 5 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/science/py-h5py/Makefile b/science/py-h5py/Makefile
index 44d248b12fc4..707183085a76 100644
--- a/science/py-h5py/Makefile
+++ b/science/py-h5py/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	h5py
-PORTVERSION=	3.11.0
+PORTVERSION=	3.12.0
 CATEGORIES=	science python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -17,11 +17,11 @@ BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
 LIB_DEPENDS=	libhdf5.so:science/hdf5
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}numpy>=1.17.3,1:math/py-numpy@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}numpy>=1.19.3,1:math/py-numpy@${PY_FLAVOR}
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}mpi4py>=3.1.1:net/py-mpi4py@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}tables>=3.4.4:devel/py-tables@${PY_FLAVOR}
 
-USES=		localbase pkgconfig python
+USES=		localbase pkgconfig python:3.9+
 USE_PYTHON=	autoplist concurrent cython pep517 pytest
 
 TEST_ENV=	PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR}
diff --git a/science/py-h5py/distinfo b/science/py-h5py/distinfo
index 6011d3a72777..1bf8e502ec29 100644
--- a/science/py-h5py/distinfo
+++ b/science/py-h5py/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1712886452
-SHA256 (h5py-3.11.0.tar.gz) = 7b7e8f78072a2edec87c9836f25f34203fd492a4475709a18b417a33cfb21fa9
-SIZE (h5py-3.11.0.tar.gz) = 406519
+TIMESTAMP = 1727718446
+SHA256 (h5py-3.12.0.tar.gz) = 00955a079e9f86c5ae2cd08accb54396c69cda87152312ddd1528e3f90acc866
+SIZE (h5py-3.12.0.tar.gz) = 411530
diff --git a/science/py-h5py/files/patch-pyproject.toml b/science/py-h5py/files/patch-pyproject.toml
index 2558efdd5a4f..3651460fab6a 100644
--- a/science/py-h5py/files/patch-pyproject.toml
+++ b/science/py-h5py/files/patch-pyproject.toml
@@ -1,11 +1,10 @@
---- pyproject.toml.orig	2024-04-05 09:38:21 UTC
+--- pyproject.toml.orig	2024-08-21 14:35:26 UTC
 +++ pyproject.toml
-@@ -1,8 +1,7 @@ requires = [
+@@ -1,7 +1,7 @@ requires = [
  [build-system]
  requires = [
      "Cython >=0.29.31,<4",
--    "oldest-supported-numpy; python_version=='3.8'",
--    "numpy >=2.0.0rc1; python_version>='3.9'",
+-    "numpy >=2.0.0, <3",
 +    "numpy",
      "pkgconfig",
      "setuptools >=61",
diff --git a/science/py-h5py/files/patch-pytest.ini b/science/py-h5py/files/patch-pytest.ini
index 9f6fe314e9f0..9fdc664d4ccb 100644
--- a/science/py-h5py/files/patch-pytest.ini
+++ b/science/py-h5py/files/patch-pytest.ini
@@ -1,7 +1,7 @@
---- pytest.ini.orig	2021-05-09 11:55:36 UTC
+--- pytest.ini.orig	2024-08-15 11:40:11 UTC
 +++ pytest.ini
-@@ -1,4 +1,3 @@
- [pytest]
+@@ -3,4 +3,3 @@ filterwarnings =
+     nonetwork: Tests to skip when no network access
  filterwarnings =
-     error::h5py.h5py_warnings.H5pyDeprecationWarning
+     error
 -required_plugins = pytest-mpi
diff --git a/science/py-h5py/pkg-plist b/science/py-h5py/pkg-plist
index 8b443768439d..f3a8e53a5e32 100644
--- a/science/py-h5py/pkg-plist
+++ b/science/py-h5py/pkg-plist
@@ -39,6 +39,7 @@
 %%PORTDOCS%%%%DOCSDIR%%/whatsnew/3.1.rst
 %%PORTDOCS%%%%DOCSDIR%%/whatsnew/3.10.rst
 %%PORTDOCS%%%%DOCSDIR%%/whatsnew/3.11.rst
+%%PORTDOCS%%%%DOCSDIR%%/whatsnew/3.12.rst
 %%PORTDOCS%%%%DOCSDIR%%/whatsnew/3.2.rst
 %%PORTDOCS%%%%DOCSDIR%%/whatsnew/3.3.rst
 %%PORTDOCS%%%%DOCSDIR%%/whatsnew/3.4.rst



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202410071424.497EOMGv030502>