git: 0163f26082f8 - main - math/py-jax: Update to 0.4.31

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 04 Aug 2024 17:22:55 UTC
The branch main has been updated by sunpoet:

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

commit 0163f26082f8064c7caa06d37c4725762e3daf5f
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-08-04 17:08:29 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-08-04 17:14:09 +0000

    math/py-jax: Update to 0.4.31
    
    Changes:        https://github.com/google/jax/releases
                    https://github.com/google/jax/blob/main/CHANGELOG.md
---
 math/py-jax/Makefile | 14 ++++----------
 math/py-jax/distinfo |  6 +++---
 2 files changed, 7 insertions(+), 13 deletions(-)

diff --git a/math/py-jax/Makefile b/math/py-jax/Makefile
index b443ecae8237..f880f75b608c 100644
--- a/math/py-jax/Makefile
+++ b/math/py-jax/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	jax
-PORTVERSION=	0.4.30
+PORTVERSION=	0.4.31
 CATEGORIES=	math python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -14,19 +14,13 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}ml-dtypes>=0.2.0:math/py-ml-dtypes@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}numpy>=1.22,1:math/py-numpy@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}numpy>=1.26.0,1:math/py-numpy@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}opt-einsum>=0:math/py-opt-einsum@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}scipy>=1.11.1:science/py-scipy@${PY_FLAVOR}
 
-USES=		python
+USES=		python:3.10+
 USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes
 
-.include <bsd.port.pre.mk>
-
-.if ${PYTHON_REL} < 31000
-RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}importlib-metadata>=4.6:devel/py-importlib-metadata@${PY_FLAVOR}
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/math/py-jax/distinfo b/math/py-jax/distinfo
index cf80f4ddd3c3..af2c8c8443c1 100644
--- a/math/py-jax/distinfo
+++ b/math/py-jax/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1718784560
-SHA256 (jax-0.4.30.tar.gz) = 94d74b5b2db0d80672b61d83f1f63ebf99d2ab7398ec12b2ca0c9d1e97afe577
-SIZE (jax-0.4.30.tar.gz) = 1715462
+TIMESTAMP = 1722711233
+SHA256 (jax-0.4.31.tar.gz) = fd2d470643a0073d822737f0788f71391656af7e62cc5b2e7995ee390ceac287
+SIZE (jax-0.4.31.tar.gz) = 1743359