commit: fd0cc00aa0227c38386414a6f3d01ff1f6a49841
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat May 20 07:18:05 2023 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat May 20 07:25:30 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd0cc00a
dev-python/pytables: Use pypi.eclass in older version(s)
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/pytables/pytables-3.7.0.ebuild | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/dev-python/pytables/pytables-3.7.0.ebuild
b/dev-python/pytables/pytables-3.7.0.ebuild
index 7a9cfcf16d80..73dfc29cc404 100644
--- a/dev-python/pytables/pytables-3.7.0.ebuild
+++ b/dev-python/pytables/pytables-3.7.0.ebuild
@@ -3,17 +3,15 @@
EAPI=8
+DISTUTILS_EXT=1
+PYPI_PN="tables"
PYTHON_COMPAT=( python3_{9..11} )
PYTHON_REQ_USE="threads(+)"
-MY_PN=tables
-MY_P=${MY_PN}-${PV}
-inherit distutils-r1
+inherit distutils-r1 pypi
DESCRIPTION="Hierarchical datasets for Python"
HOMEPAGE="https://www.pytables.org/"
-SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
-S="${WORKDIR}/${MY_P}"
LICENSE="BSD"
SLOT="0"