diff options
Diffstat (limited to 'dev-python/opt-einsum/opt-einsum-3.3.0-r1.ebuild')
-rw-r--r-- | dev-python/opt-einsum/opt-einsum-3.3.0-r1.ebuild | 20 |
1 files changed, 17 insertions, 3 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 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 +} |