aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2026-01-15 11:35:01 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2026-01-15 11:53:04 +0000
commite23eeb8b3229a8d5d8d827a5d5def3a49fdcbc4c (patch)
treeff452cfe974ff7b884d08db2fb5eeeeb38ede12e
parent3df1c8e0e9d10b6ca5bfa90140106d419bd3395a (diff)
math/py-ndonnx: Add py-ndonnx 0.17.1
ndonnx provides an ONNX-backed array library that is compliant with the Array API standard.
-rw-r--r--math/Makefile1
-rw-r--r--math/py-ndonnx/Makefile27
-rw-r--r--math/py-ndonnx/distinfo3
-rw-r--r--math/py-ndonnx/pkg-descr2
4 files changed, 33 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile
index 7c816945e6ae..24bf914827f0 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -1047,6 +1047,7 @@
SUBDIR += py-munkres
SUBDIR += py-narwhals
SUBDIR += py-ndindex
+ SUBDIR += py-ndonnx
SUBDIR += py-networkx
SUBDIR += py-nevergrad
SUBDIR += py-nlopt
diff --git a/math/py-ndonnx/Makefile b/math/py-ndonnx/Makefile
new file mode 100644
index 000000000000..0b588e8263fd
--- /dev/null
+++ b/math/py-ndonnx/Makefile
@@ -0,0 +1,27 @@
+PORTNAME= ndonnx
+PORTVERSION= 0.17.1
+CATEGORIES= math python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= ONNX backed array library compliant with Array API standard
+WWW= https://ndonnx.readthedocs.io/en/latest/ \
+ https://github.com/Quantco/ndonnx
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=8:devel/py-setuptools-scm@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}spox>=0.10:math/py-spox@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist concurrent pep517
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/math/py-ndonnx/distinfo b/math/py-ndonnx/distinfo
new file mode 100644
index 000000000000..f2abea746f7c
--- /dev/null
+++ b/math/py-ndonnx/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1767157569
+SHA256 (ndonnx-0.17.1.tar.gz) = a60dd523dbe4f8d1d4b8f7230f01fd38f3f73c8b02428d938cb0562787daa924
+SIZE (ndonnx-0.17.1.tar.gz) = 361472
diff --git a/math/py-ndonnx/pkg-descr b/math/py-ndonnx/pkg-descr
new file mode 100644
index 000000000000..bd90d59d831e
--- /dev/null
+++ b/math/py-ndonnx/pkg-descr
@@ -0,0 +1,2 @@
+ndonnx provides an ONNX-backed array library that is compliant with the Array
+API standard.