summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-04-05 08:40:37 +0800
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-04-05 08:40:37 +0800
commit84044de847f6e384039fb2b7a03c6e27a0950877 (patch)
tree0c596ee08ea87fcbf639c0c1aabb350623122fc7 /math
parentmath/py-awkward-cpp: Update to 32 (diff)
math/py-ml-dtypes: Update to 0.4.0
Changes: https://github.com/jax-ml/ml_dtypes/releases
Diffstat (limited to 'math')
-rw-r--r--math/py-ml-dtypes/Makefile2
-rw-r--r--math/py-ml-dtypes/distinfo6
-rw-r--r--math/py-ml-dtypes/files/patch-pyproject.toml10
3 files changed, 8 insertions, 10 deletions
diff --git a/math/py-ml-dtypes/Makefile b/math/py-ml-dtypes/Makefile
index 9212e96fe3cc..f40cdd6b2505 100644
--- a/math/py-ml-dtypes/Makefile
+++ b/math/py-ml-dtypes/Makefile
@@ -1,5 +1,5 @@
PORTNAME= ml-dtypes
-PORTVERSION= 0.3.2
+PORTVERSION= 0.4.0
CATEGORIES= math python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
diff --git a/math/py-ml-dtypes/distinfo b/math/py-ml-dtypes/distinfo
index 76362a0cbeaf..ec17ab39e443 100644
--- a/math/py-ml-dtypes/distinfo
+++ b/math/py-ml-dtypes/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1708449396
-SHA256 (ml_dtypes-0.3.2.tar.gz) = 533059bc5f1764fac071ef54598db358c167c51a718f68f5bb55e3dee79d2967
-SIZE (ml_dtypes-0.3.2.tar.gz) = 692014
+TIMESTAMP = 1712084526
+SHA256 (ml_dtypes-0.4.0.tar.gz) = eaf197e72f4f7176a19fe3cb8b61846b38c6757607e7bf9cd4b1d84cd3e74deb
+SIZE (ml_dtypes-0.4.0.tar.gz) = 692650
diff --git a/math/py-ml-dtypes/files/patch-pyproject.toml b/math/py-ml-dtypes/files/patch-pyproject.toml
index 8bf02a6a2096..3989718a34fb 100644
--- a/math/py-ml-dtypes/files/patch-pyproject.toml
+++ b/math/py-ml-dtypes/files/patch-pyproject.toml
@@ -1,4 +1,4 @@
---- pyproject.toml.orig 2024-01-03 18:51:44 UTC
+--- pyproject.toml.orig 2024-04-01 15:41:58 UTC
+++ pyproject.toml
@@ -17,10 +17,7 @@ dependencies = [
# pip dependencies of the project
@@ -12,13 +12,11 @@
]
[project.urls]
-@@ -49,10 +46,8 @@ requires = [
+@@ -49,8 +46,8 @@ requires = [
[build-system]
requires = [
- # Build with oldest supported numpy for each Python version.
-- "numpy~=1.21.2; python_version<'3.11'",
-- "numpy~=1.23.3; python_version>='3.11' and python_version<'3.12'",
-- "numpy~=1.26.0; python_version>='3.12'",
+ # TODO(phawkins): update this to 2.0.0 after its release.
+- "numpy==2.0.0rc1",
- "setuptools~=68.1.0",
+ "numpy>=1.23.3",
+ "setuptools",