Signed-off-by: Michał Górny <mgo...@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"
-- 
2.39.1


Reply via email to