commit:     b7ff6a5ef281b9f20677deeaafb96882c8341eb2
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 13 15:30:49 2023 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Mon Feb 13 15:40:48 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7ff6a5e

dev-python/PyQt6-WebEngine: use pypi.eclass

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.4.0.ebuild | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.4.0.ebuild 
b/dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.4.0.ebuild
index 8abd9c96b89b..0ce42b203dfc 100644
--- a/dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.4.0.ebuild
+++ b/dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.4.0.ebuild
@@ -5,15 +5,14 @@ EAPI=8
 
 DISTUTILS_USE_PEP517=sip
 PYTHON_COMPAT=( python3_{9..11} )
-inherit distutils-r1 flag-o-matic multiprocessing qmake-utils
+inherit distutils-r1 flag-o-matic multiprocessing pypi qmake-utils
 
 QT_PV="$(ver_cut 1-2):6"
-MY_P="${P/-/_}"
 
 DESCRIPTION="Python bindings for QtWebEngine"
 HOMEPAGE="https://www.riverbankcomputing.com/software/pyqtwebengine/";
-SRC_URI="mirror://pypi/${P::1}/${PN}/${MY_P}.tar.gz"
-S="${WORKDIR}/${MY_P}"
+SRC_URI="$(pypi_sdist_url --no-normalize ${PN/-/_})"
+S="${WORKDIR}/${P/-/_}"
 
 LICENSE="GPL-3"
 SLOT="0"

Reply via email to