commit: 4e82e5179c55d0685667727af272f3caa89f784f
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 5 11:48:49 2023 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Feb 5 11:48:49 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e82e517
dev-python/ensurepip-setuptools: Use pypi.eclass in 67.1.0 too
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
.../ensurepip-setuptools/ensurepip-setuptools-67.1.0.ebuild | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/dev-python/ensurepip-setuptools/ensurepip-setuptools-67.1.0.ebuild
b/dev-python/ensurepip-setuptools/ensurepip-setuptools-67.1.0.ebuild
index 22682736bd2f..c13c3370cbbe 100644
--- a/dev-python/ensurepip-setuptools/ensurepip-setuptools-67.1.0.ebuild
+++ b/dev-python/ensurepip-setuptools/ensurepip-setuptools-67.1.0.ebuild
@@ -3,14 +3,11 @@
EAPI=8
-MY_PN=${PN#ensurepip-}
-WHL=${MY_PN}-${PV}-py3-none-any.whl
+inherit pypi
DESCRIPTION="Shared setuptools wheel for ensurepip Python module"
HOMEPAGE="https://pypi.org/project/setuptools/"
-SRC_URI="
- https://files.pythonhosted.org/packages/py3/${MY_PN::1}/${MY_PN}/${WHL}
-"
+SRC_URI="$(pypi_wheel_url "${PN#ensurepip-}")"
S=${DISTDIR}
LICENSE="MIT"
@@ -23,5 +20,5 @@ RDEPEND="
src_install() {
insinto /usr/lib/python/ensurepip
- doins "${WHL}"
+ doins "${A}"
}