summaryrefslogtreecommitdiff
path: root/devel/py-array-api-compat
diff options
context:
space:
mode:
Diffstat (limited to 'devel/py-array-api-compat')
-rw-r--r--devel/py-array-api-compat/Makefile7
-rw-r--r--devel/py-array-api-compat/distinfo6
-rw-r--r--devel/py-array-api-compat/files/patch-pyproject.toml11
3 files changed, 18 insertions, 6 deletions
diff --git a/devel/py-array-api-compat/Makefile b/devel/py-array-api-compat/Makefile
index 6d82048dce3f..fcaaeab889f9 100644
--- a/devel/py-array-api-compat/Makefile
+++ b/devel/py-array-api-compat/Makefile
@@ -1,5 +1,5 @@
PORTNAME= array-api-compat
-PORTVERSION= 1.9
+PORTVERSION= 1.12.0
CATEGORIES= devel python
MASTER_SITES= PYPI \
https://github.com/data-apis/array-api-compat/releases/download/${PORTVERSION}/
@@ -15,6 +15,7 @@ LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=0:devel/py-setuptools-scm@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
USES= python
@@ -26,8 +27,8 @@ OPTIONS_DEFINE= DASK NUMPY SPARSE
DASK_DESC= Dask array support
SPARSE_DESC= Sparse array support
-DASK_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dask>=0:devel/py-dask@${PY_FLAVOR}
-NUMPY_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR}
+DASK_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dask>=2024.9.0:devel/py-dask@${PY_FLAVOR}
+NUMPY_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.22,1:math/py-numpy@${PY_FLAVOR}
SPARSE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sparse>=0.15.1:devel/py-sparse@${PY_FLAVOR}
.include <bsd.port.mk>
diff --git a/devel/py-array-api-compat/distinfo b/devel/py-array-api-compat/distinfo
index 94297dace622..bbb24d7f7079 100644
--- a/devel/py-array-api-compat/distinfo
+++ b/devel/py-array-api-compat/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1728632320
-SHA256 (array_api_compat-1.9.tar.gz) = 8fb35f2895822b1cc6618449efd84aa76dcea1ab96940304f869663fd6a0dcd8
-SIZE (array_api_compat-1.9.tar.gz) = 42870
+TIMESTAMP = 1753265748
+SHA256 (array_api_compat-1.12.0.tar.gz) = 585bc615f650de53ac24b7c012baecfcdd810f50df3573be47e6dd9fa20df974
+SIZE (array_api_compat-1.12.0.tar.gz) = 99883
diff --git a/devel/py-array-api-compat/files/patch-pyproject.toml b/devel/py-array-api-compat/files/patch-pyproject.toml
new file mode 100644
index 000000000000..31a92bd62ff9
--- /dev/null
+++ b/devel/py-array-api-compat/files/patch-pyproject.toml
@@ -0,0 +1,11 @@
+--- pyproject.toml.orig 2025-05-16 08:49:23 UTC
++++ pyproject.toml
+@@ -8,7 +8,7 @@ requires-python = ">=3.10"
+ description = "A wrapper around NumPy and other array libraries to make them compatible with the Array API standard"
+ readme = "README.md"
+ requires-python = ">=3.10"
+-license = "MIT"
++license = {text = "MIT"}
+ authors = [{name = "Consortium for Python Data API Standards"}]
+ classifiers = [
+ "Operating System :: OS Independent",