summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-02-05 12:48:49 +0100
committerMichał Górny <mgorny@gentoo.org>2023-02-05 12:48:49 +0100
commit4e82e5179c55d0685667727af272f3caa89f784f (patch)
tree368b43054d6bf52bc41bb74473039b72d7009a7f /dev-python/ensurepip-setuptools
parentdev-python/execnet: Use pypi.eclass (diff)
downloadgentoo-4e82e5179c55d0685667727af272f3caa89f784f.tar.gz
gentoo-4e82e5179c55d0685667727af272f3caa89f784f.tar.bz2
gentoo-4e82e5179c55d0685667727af272f3caa89f784f.zip
dev-python/ensurepip-setuptools: Use pypi.eclass in 67.1.0 too
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/ensurepip-setuptools')
-rw-r--r--dev-python/ensurepip-setuptools/ensurepip-setuptools-67.1.0.ebuild9
1 files 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}"
}