git: 12c00cfcc07c - main - misc/py-einops: New port: New flavour of deep learning operations
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 18 Jan 2023 05:13:31 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=12c00cfcc07c30741e2a8059eedcf3c22cb3e9bb
commit 12c00cfcc07c30741e2a8059eedcf3c22cb3e9bb
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-01-18 05:01:48 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-01-18 05:13:28 +0000
misc/py-einops: New port: New flavour of deep learning operations
---
misc/Makefile | 1 +
misc/py-einops/Makefile | 24 ++++++++++++++++++++++++
misc/py-einops/distinfo | 3 +++
misc/py-einops/pkg-descr | 3 +++
4 files changed, 31 insertions(+)
diff --git a/misc/Makefile b/misc/Makefile
index 33e6f49aa1db..42fbbba739b2 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -398,6 +398,7 @@
SUBDIR += py-detecta
SUBDIR += py-dictdiffer
SUBDIR += py-eemeter
+ SUBDIR += py-einops
SUBDIR += py-emoji
SUBDIR += py-ezc3d
SUBDIR += py-fast-histogram
diff --git a/misc/py-einops/Makefile b/misc/py-einops/Makefile
new file mode 100644
index 000000000000..cc9798f1751e
--- /dev/null
+++ b/misc/py-einops/Makefile
@@ -0,0 +1,24 @@
+PORTNAME= einops
+DISTVERSION= 0.6.0
+CATEGORIES= misc # machine-learning
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= New flavour of deep learning operations
+WWW= https://einops.rocks/
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=1.10.0:devel/py-hatchling@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=1.10.0:devel/py-hatchling@${PY_FLAVOR}
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nbconvert>0:devel/py-nbconvert@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}parameterized>0:devel/py-parameterized@${PY_FLAVOR}
+
+USES= python:3.6+
+USE_PYTHON= pep517 autoplist pytest # 1 test fails because of missing pytorch
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/misc/py-einops/distinfo b/misc/py-einops/distinfo
new file mode 100644
index 000000000000..c990869af818
--- /dev/null
+++ b/misc/py-einops/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1674013800
+SHA256 (einops-0.6.0.tar.gz) = 6f6c78739316a2e3ccbce8052310497e69da092935e4173f2e76ec4e3a336a35
+SIZE (einops-0.6.0.tar.gz) = 54337
diff --git a/misc/py-einops/pkg-descr b/misc/py-einops/pkg-descr
new file mode 100644
index 000000000000..1dfd36810fa2
--- /dev/null
+++ b/misc/py-einops/pkg-descr
@@ -0,0 +1,3 @@
+einops provides flexible and powerful tensor operations for readable and
+reliable code.
+It supports numpy, pytorch, tensorflow, jax, and others.