git: 84b43846e197 - main - science/py-h5py: Update to 3.9.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 09 Jul 2023 10:36:31 UTC
The branch main has been updated by sunpoet:

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

commit 84b43846e197d997605c7c795c93c129811c4fac
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-07-09 10:19:58 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-07-09 10:19:58 +0000

    science/py-h5py: Update to 3.9.0
    
    Changes:        https://github.com/h5py/h5py/releases
                    https://github.com/h5py/h5py/blob/master/docs/whatsnew/3.9.rst
                    https://docs.h5py.org/en/stable/whatsnew/index.html
---
 science/py-h5py/Makefile  | 8 ++++----
 science/py-h5py/distinfo  | 6 +++---
 science/py-h5py/pkg-plist | 1 +
 3 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/science/py-h5py/Makefile b/science/py-h5py/Makefile
index 2eba24708e6a..8f53157a6f6d 100644
--- a/science/py-h5py/Makefile
+++ b/science/py-h5py/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	h5py
-PORTVERSION=	3.8.0
-PORTREVISION=	1
+PORTVERSION=	3.9.0
 CATEGORIES=	science python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,10 +11,11 @@ WWW=		https://www.h5py.org/
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/licenses/license.txt
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pkgconfig>=0,1:devel/py-pkgconfig@${PY_FLAVOR} \
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cython>=0.29.31<1:lang/cython@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pkgconfig>=0,1:devel/py-pkgconfig@${PY_FLAVOR} \
 		${RUN_DEPENDS}
 LIB_DEPENDS=	libhdf5.so:science/hdf5
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}numpy>=1.14.5,1:math/py-numpy@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}numpy>=1.17.3,1:math/py-numpy@${PY_FLAVOR}
 
 USES=		localbase pkgconfig python
 USE_PYTHON=	autoplist concurrent cython distutils pytest
diff --git a/science/py-h5py/distinfo b/science/py-h5py/distinfo
index a689a159bc8c..03c71a776714 100644
--- a/science/py-h5py/distinfo
+++ b/science/py-h5py/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1675191085
-SHA256 (h5py-3.8.0.tar.gz) = 6fead82f0c4000cf38d53f9c030780d81bfa0220218aee13b90b7701c937d95f
-SIZE (h5py-3.8.0.tar.gz) = 400774
+TIMESTAMP = 1688166306
+SHA256 (h5py-3.9.0.tar.gz) = e604db6521c1e367c6bd7fad239c847f53cc46646f2d2651372d05ae5e95f817
+SIZE (h5py-3.9.0.tar.gz) = 402856
diff --git a/science/py-h5py/pkg-plist b/science/py-h5py/pkg-plist
index 8659863cbb58..15b4696786fc 100644
--- a/science/py-h5py/pkg-plist
+++ b/science/py-h5py/pkg-plist
@@ -23,6 +23,7 @@
 %%PORTDOCS%%%%DOCSDIR%%/strings.rst
 %%PORTDOCS%%%%DOCSDIR%%/swmr.rst
 %%PORTDOCS%%%%DOCSDIR%%/vds.rst
+%%PORTDOCS%%%%DOCSDIR%%/whatsnew/%%PYTHON_VER%%.rst
 %%PORTDOCS%%%%DOCSDIR%%/whatsnew/2.0.rst
 %%PORTDOCS%%%%DOCSDIR%%/whatsnew/2.1.rst
 %%PORTDOCS%%%%DOCSDIR%%/whatsnew/2.10.rst