aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-02-21 14:43:46 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-02-21 15:07:54 +0000
commit72d924c6a44bf1863b1ddadc9860fbbcf335f07c (patch)
treed902a5f1b8b78f8985c3c04331da458e9a5264f2
parent71c0f8486878ff1281077e75969e47f821b14571 (diff)
downloadports-72d924c6a44bf1863b1ddadc9860fbbcf335f07c.tar.gz
ports-72d924c6a44bf1863b1ddadc9860fbbcf335f07c.zip
math/py-ml-dtypes: Update to 0.3.2
-rw-r--r--math/py-ml-dtypes/Makefile3
-rw-r--r--math/py-ml-dtypes/distinfo6
-rw-r--r--math/py-ml-dtypes/files/patch-pyproject.toml17
3 files changed, 12 insertions, 14 deletions
diff --git a/math/py-ml-dtypes/Makefile b/math/py-ml-dtypes/Makefile
index 28a4cd55bfb2..9212e96fe3cc 100644
--- a/math/py-ml-dtypes/Makefile
+++ b/math/py-ml-dtypes/Makefile
@@ -1,5 +1,5 @@
PORTNAME= ml-dtypes
-PORTVERSION= 0.3.1
+PORTVERSION= 0.3.2
CATEGORIES= math python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -13,7 +13,6 @@ LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.23.3,1:math/py-numpy@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}pybind11>=2.11.1:devel/py-pybind11@${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}
diff --git a/math/py-ml-dtypes/distinfo b/math/py-ml-dtypes/distinfo
index 0e2f57b0a0e8..76362a0cbeaf 100644
--- a/math/py-ml-dtypes/distinfo
+++ b/math/py-ml-dtypes/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1695588832
-SHA256 (ml_dtypes-0.3.1.tar.gz) = 60778f99194b4c4f36ba42da200b35ef851ce4d4af698aaf70f5b91fe70fc611
-SIZE (ml_dtypes-0.3.1.tar.gz) = 691712
+TIMESTAMP = 1708449396
+SHA256 (ml_dtypes-0.3.2.tar.gz) = 533059bc5f1764fac071ef54598db358c167c51a718f68f5bb55e3dee79d2967
+SIZE (ml_dtypes-0.3.2.tar.gz) = 692014
diff --git a/math/py-ml-dtypes/files/patch-pyproject.toml b/math/py-ml-dtypes/files/patch-pyproject.toml
index 575ca118bd9c..8bf02a6a2096 100644
--- a/math/py-ml-dtypes/files/patch-pyproject.toml
+++ b/math/py-ml-dtypes/files/patch-pyproject.toml
@@ -1,27 +1,26 @@
---- pyproject.toml.orig 2023-09-19 22:47:59 UTC
+--- pyproject.toml.orig 2024-01-03 18:51:44 UTC
+++ pyproject.toml
-@@ -17,10 +17,7 @@ keywords = []
+@@ -17,10 +17,7 @@ dependencies = [
# pip dependencies of the project
dependencies = [
# Ensure numpy release supports Python version.
- "numpy>1.20",
-- "numpy>=1.21.2; python_version>'3.9'",
-- "numpy>=1.23.3; python_version>'3.10'",
-- "numpy>=1.26.0; python_version>'3.12'",
-+ "numpy>=1.21.2",
+- "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",
]
[project.urls]
-@@ -49,11 +46,9 @@ pyink-use-majority-quotes = true
+@@ -49,10 +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'",
-+ "numpy>=1.21.2",
- "pybind11~=2.11.1",
- "setuptools~=68.1.0",
++ "numpy>=1.23.3",
+ "setuptools",
]
build-backend = "setuptools.build_meta"