commit:     900ee65a0c5352cd7f9648f44a6210b480ab4ac6
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 24 13:53:49 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Mar 25 17:18:43 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=900ee65a

dev-python/pytables: Use pypi.eclass

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/pytables/pytables-3.8.0-r1.ebuild | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/dev-python/pytables/pytables-3.8.0-r1.ebuild 
b/dev-python/pytables/pytables-3.8.0-r1.ebuild
index be79d9c619b7..6341732956bf 100644
--- a/dev-python/pytables/pytables-3.8.0-r1.ebuild
+++ b/dev-python/pytables/pytables-3.8.0-r1.ebuild
@@ -4,12 +4,10 @@
 EAPI=8
 
 PYTHON_COMPAT=( python3_{9..11} )
+PYPI_PN="tables"
 PYTHON_REQ_USE="threads(+)"
 
-inherit distutils-r1 prefix
-
-MY_PN=tables
-MY_P=${MY_PN}-${PV}
+inherit distutils-r1 prefix pypi
 
 DESCRIPTION="Hierarchical datasets for Python"
 HOMEPAGE="
@@ -17,8 +15,6 @@ HOMEPAGE="
        https://github.com/PyTables/PyTables/
        https://pypi.org/project/tables/
 "
-SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
-S=${WORKDIR}/${MY_P}
 
 LICENSE="BSD"
 SLOT="0"

Reply via email to