summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2023-01-23 19:54:45 +0200
committerArthur Zamarin <arthurzam@gentoo.org>2023-01-23 19:59:12 +0200
commit5392c850efadd30906fac5a1e73f62ff1f709cfe (patch)
tree3be429137df717a9e9a85b52f3925dc6ebc34215 /dev-python/opt-einsum
parentdev-python/google-pasta: enable py3.11 (diff)
downloadgentoo-5392c850efadd30906fac5a1e73f62ff1f709cfe.tar.gz
gentoo-5392c850efadd30906fac5a1e73f62ff1f709cfe.tar.bz2
gentoo-5392c850efadd30906fac5a1e73f62ff1f709cfe.zip
dev-python/opt-einsum: EAPI=8, PEP517
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-python/opt-einsum')
-rw-r--r--dev-python/opt-einsum/opt-einsum-3.3.0-r1.ebuild21
1 files changed, 21 insertions, 0 deletions
diff --git a/dev-python/opt-einsum/opt-einsum-3.3.0-r1.ebuild b/dev-python/opt-einsum/opt-einsum-3.3.0-r1.ebuild
new file mode 100644
index 000000000000..8bba47fb6e32
--- /dev/null
+++ b/dev-python/opt-einsum/opt-einsum-3.3.0-r1.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{9..10} )
+inherit distutils-r1
+
+DESCRIPTION="Optimized Einsum: A tensor contraction order optimizer"
+HOMEPAGE="https://pypi.org/project/opt-einsum/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P/-/_}.tar.gz"
+S="${WORKDIR}/${P/-/_}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]"
+
+distutils_enable_tests pytest