1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

math/py-ml-dtypes: Update to 0.5.0

Changes:	https://github.com/jax-ml/ml_dtypes/releases
This commit is contained in:
Po-Chuan Hsieh 2024-09-25 12:14:15 +08:00
parent fa1fcff9ac
commit 995ffbbc1d
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
3 changed files with 17 additions and 16 deletions

View File

@ -1,5 +1,5 @@
PORTNAME= ml-dtypes
PORTVERSION= 0.4.0
PORTVERSION= 0.5.0
CATEGORIES= math python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -12,10 +12,10 @@ WWW= https://github.com/jax-ml/ml_dtypes
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.23.3,1:math/py-numpy@${PY_FLAVOR} \
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.26.0,1:math/py-numpy@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.23.3,1:math/py-numpy@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.26.0,1:math/py-numpy@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist concurrent pep517

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1712084526
SHA256 (ml_dtypes-0.4.0.tar.gz) = eaf197e72f4f7176a19fe3cb8b61846b38c6757607e7bf9cd4b1d84cd3e74deb
SIZE (ml_dtypes-0.4.0.tar.gz) = 692650
TIMESTAMP = 1726740977
SHA256 (ml_dtypes-0.5.0.tar.gz) = 3e7d3a380fe73a63c884f06136f8baa7a5249cc8e9fdec677997dd78549f8128
SIZE (ml_dtypes-0.5.0.tar.gz) = 699367

View File

@ -1,24 +1,25 @@
--- pyproject.toml.orig 2024-04-01 15:41:58 UTC
--- pyproject.toml.orig 2024-09-13 21:53:12 UTC
+++ pyproject.toml
@@ -17,10 +17,7 @@ dependencies = [
@@ -17,11 +17,7 @@ dependencies = [
# pip dependencies of the project
dependencies = [
# Ensure numpy release supports Python version.
- "numpy>1.20",
- "numpy>=1.21",
- "numpy>=1.21.2; python_version>='3.10'",
- "numpy>=1.23.3; python_version>='3.11'",
- "numpy>=1.26.0; python_version>='3.12'",
+ "numpy>=1.23.3",
- "numpy>=2.1.0; python_version>='3.13'",
+ "numpy>=1.26.0",
]
[project.urls]
@@ -49,8 +46,8 @@ requires = [
[build-system]
@@ -51,8 +47,8 @@ requires = [
requires = [
# TODO(phawkins): update this to 2.0.0 after its release.
- "numpy==2.0.0rc1",
- "setuptools~=68.1.0",
+ "numpy>=1.23.3",
# We build against the most recent supported NumPy 2.0 release;
# see https://github.com/numpy/numpy/issues/27265
- "numpy~=2.0",
- "setuptools~=73.0.1",
+ "numpy>=1.26.0",
+ "setuptools",
]
build-backend = "setuptools.build_meta"