git: 867905cc5f03 - main - devel/py-jaxtyping: New port: Type annotations & runtime checking for shape and dtype of JAX arrays
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 23 Sep 2024 09:47:34 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=867905cc5f0391460630961c7b43bf910728b5fb
commit 867905cc5f0391460630961c7b43bf910728b5fb
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-09-23 04:55:41 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-09-23 09:47:25 +0000
devel/py-jaxtyping: New port: Type annotations & runtime checking for shape and dtype of JAX arrays
---
devel/Makefile | 1 +
devel/py-jaxtyping/Makefile | 23 +++++++++++++++++++++++
devel/py-jaxtyping/distinfo | 3 +++
devel/py-jaxtyping/pkg-descr | 3 +++
4 files changed, 30 insertions(+)
diff --git a/devel/Makefile b/devel/Makefile
index 1ada8231ec48..c5d401d3e429 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5026,6 +5026,7 @@
SUBDIR += py-jaraco.text
SUBDIR += py-jaraco.util
SUBDIR += py-javaproperties
+ SUBDIR += py-jaxtyping
SUBDIR += py-jdcal
SUBDIR += py-jedi
SUBDIR += py-jeepney
diff --git a/devel/py-jaxtyping/Makefile b/devel/py-jaxtyping/Makefile
new file mode 100644
index 000000000000..1f858c62a56d
--- /dev/null
+++ b/devel/py-jaxtyping/Makefile
@@ -0,0 +1,23 @@
+PORTNAME= jaxtyping
+DISTVERSION= 0.2.34
+CATEGORIES= devel
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Type annotations & runtime checking for shape and dtype of JAX arrays
+WWW= https://docs.kidger.site/jaxtyping/
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}jax>0:math/py-jax@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}typeguard>=2.13.3:devel/py-typeguard@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= pep517 autoplist
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-jaxtyping/distinfo b/devel/py-jaxtyping/distinfo
new file mode 100644
index 000000000000..26c140f1b311
--- /dev/null
+++ b/devel/py-jaxtyping/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1727066540
+SHA256 (jaxtyping-0.2.34.tar.gz) = eed9a3458ec8726c84ea5457ebde53c964f65d2c22c0ec40d0555ae3fed5bbaf
+SIZE (jaxtyping-0.2.34.tar.gz) = 32688
diff --git a/devel/py-jaxtyping/pkg-descr b/devel/py-jaxtyping/pkg-descr
new file mode 100644
index 000000000000..e468513f1dd6
--- /dev/null
+++ b/devel/py-jaxtyping/pkg-descr
@@ -0,0 +1,3 @@
+jaxtyping is a library providing type annotations and runtime type-checking for:
+* shape and dtype of JAX arrays
+* PyTrees