commit:     363a6e90444e0844804ca5baee960955a94aebe7
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Feb  5 17:27:41 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Feb  7 14:25:16 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=363a6e90

dev-python/installer: Use pypi.eclass

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

 dev-python/installer/installer-0.6.0.ebuild | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/dev-python/installer/installer-0.6.0.ebuild 
b/dev-python/installer/installer-0.6.0.ebuild
index 5310b5520a29..fcb3784df3fd 100644
--- a/dev-python/installer/installer-0.6.0.ebuild
+++ b/dev-python/installer/installer-0.6.0.ebuild
@@ -7,7 +7,7 @@ EAPI=7
 DISTUTILS_USE_PEP517=no
 PYTHON_COMPAT=( python3_{9..11} pypy3 )
 
-inherit distutils-r1
+inherit distutils-r1 pypi
 
 DESCRIPTION="A library for installing Python wheels"
 HOMEPAGE="
@@ -18,8 +18,7 @@ HOMEPAGE="
 SRC_URI="
        https://github.com/pypa/installer/archive/${PV}.tar.gz
                -> ${P}.gh.tar.gz
-       
https://files.pythonhosted.org/packages/py3/${PN::1}/${PN}/${P%_p*}-py3-none-any.whl
-               -> ${P%_p*}-py3-none-any.whl.zip
+       $(pypi_wheel_url --unpack)
 "
 
 LICENSE="MIT"

Reply via email to