summaryrefslogtreecommitdiff
path: root/dev-python/opt-einsum
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-07-28 22:38:01 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-07-28 22:38:01 +0100
commitc6a12f3c8604a9269cfb82d666fc716df0e67792 (patch)
tree1e5b7e9357bba635f294047da492297bcb3d65ae /dev-python/opt-einsum
parent0c59fd5caa123ae7755b01bb4826776078bf1b81 (diff)
gentoo auto-resync : 28:07:2023 - 22:38:00
Diffstat (limited to 'dev-python/opt-einsum')
-rw-r--r--dev-python/opt-einsum/Manifest2
-rw-r--r--dev-python/opt-einsum/opt-einsum-3.3.0-r1.ebuild20
2 files changed, 18 insertions, 4 deletions
diff --git a/dev-python/opt-einsum/Manifest b/dev-python/opt-einsum/Manifest
index 95a4b2a6ab20..3ba2e58e4d6a 100644
--- a/dev-python/opt-einsum/Manifest
+++ b/dev-python/opt-einsum/Manifest
@@ -1,3 +1,3 @@
DIST opt_einsum-3.3.0.tar.gz 73951 BLAKE2B c8e39c9589bb6b89150fd5699fafd77c5ac6022f66d1b778a55dd61e606067be4b6df85972dd4078df084e34a39463f5e59d69426b0ed9152e93f93798417eea SHA512 f34c58bd3aa4a15794cfc604167c0e3175b9826da2a2449bb48ea5c3095f8215e3f990daec51e77e505a03204201694df1a09360ee51b8a4a793b9844d9c2d5e
-EBUILD opt-einsum-3.3.0-r1.ebuild 453 BLAKE2B ddb624d08cee9604734d8541ca0904820dda846cdfec99ad772e57b6f4c688a62330300beae64edec4e07c09ffb51efb39222eaf14fffc3093ec81d74f2e4cba SHA512 f382187d33da82fbbc969bfc7410307146c96f45709385a8ea01363caf59ce5ea5a2b4dea672ed712c4dc8fcf8d9063d3fcc52b9c01641c6eb7fe46483215117
+EBUILD opt-einsum-3.3.0-r1.ebuild 651 BLAKE2B 7000ce60f53cf614c0f32946ef57ed00d7266ea822e537819d3fd57ea4ddd2413702001b553ab419f189b3552b9dccfd4ae2cb63050949e08a8401c8255ea803 SHA512 f7e33f261171469dd6c0f49debc881d2794857bcf186ddd4feeb06f7f78a807d4164c772d3660b409f7dc0354c0a97078625009fb16d4cefe5444aaf80d7970d
MISC metadata.xml 530 BLAKE2B 657b3a76e2d097512c79cdebe6f9eaf334c788b525e4c6f7a02ee90be68d36d19261972393a47739be4a8f405bbd07fa8678e9b84c8bdafb8c8808ccf4356ce8 SHA512 0301af745cbdad5ebfc9f87e07f5e0782cc80d6dcf449402757267e5894ecca087f169dd68f9e3aa33818fca3349e90ccd421c8e19edb00dcd8da67069aa044d
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
index 32486a84ef90..497f35c0649d 100644
--- a/dev-python/opt-einsum/opt-einsum-3.3.0-r1.ebuild
+++ b/dev-python/opt-einsum/opt-einsum-3.3.0-r1.ebuild
@@ -4,17 +4,31 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..12} )
inherit distutils-r1 pypi
DESCRIPTION="Optimized Einsum: A tensor contraction order optimizer"
-HOMEPAGE="https://pypi.org/project/opt-einsum/"
+HOMEPAGE="
+ https://github.com/dgasmith/opt_einsum/
+ https://pypi.org/project/opt-einsum/
+"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
-RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]"
+RDEPEND="
+ dev-python/numpy[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ dev-python/versioneer[${PYTHON_USEDEP}]
+"
distutils_enable_tests pytest
+
+src_prepare() {
+ # ancient, broken version
+ rm versioneer.py || die
+ distutils-r1_src_prepare
+}