summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-11-22 20:56:52 +0100
committerMichał Górny <mgorny@gentoo.org>2024-11-22 21:00:13 +0100
commit89fbae1856b015f04be67018be76c9f74b9a225e (patch)
treea7a2e636d85440a7178a996f31d64b3c54b8e928 /dev-python
parent15402e9b9b2507fbd3d500fb8b2e392bb943fa22 (diff)
downloadgentoo-89fbae1856b015f04be67018be76c9f74b9a225e.tar.gz
gentoo-89fbae1856b015f04be67018be76c9f74b9a225e.tar.bz2
gentoo-89fbae1856b015f04be67018be76c9f74b9a225e.zip
dev-python/PyQt6-WebEngine: Add PYPI_PN prior to rename
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.7.0.ebuild4
-rw-r--r--dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.8.0_pre2411020930.ebuild6
2 files changed, 7 insertions, 3 deletions
diff --git a/dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.7.0.ebuild b/dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.7.0.ebuild
index 9692b479ada6..6e0e5571b4dc 100644
--- a/dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.7.0.ebuild
+++ b/dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.7.0.ebuild
@@ -6,8 +6,10 @@ EAPI=8
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=sip
PYPI_NO_NORMALIZE=1
-PYPI_PN=${PN/-/_}
+# actually, it's PyQt6-WebEngine but upstream uses incorrect sdist name
+PYPI_PN=PyQt6_WebEngine
PYTHON_COMPAT=( python3_{10..13} )
+
inherit distutils-r1 flag-o-matic multiprocessing pypi qmake-utils
QT_PV=$(ver_cut 1-2):6
diff --git a/dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.8.0_pre2411020930.ebuild b/dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.8.0_pre2411020930.ebuild
index a56dd8b35eaf..fbf1852e77b0 100644
--- a/dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.8.0_pre2411020930.ebuild
+++ b/dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.8.0_pre2411020930.ebuild
@@ -6,8 +6,10 @@ EAPI=8
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=sip
PYPI_NO_NORMALIZE=1
-PYPI_PN=${PN/-/_}
+# actually, it's PyQt6-WebEngine but upstream uses incorrect sdist name
+PYPI_PN=PyQt6_WebEngine
PYTHON_COMPAT=( python3_{10..13} )
+
inherit distutils-r1 flag-o-matic multiprocessing qmake-utils # pypi
QT_PV=$(ver_cut 1-2):6
@@ -16,7 +18,7 @@ DESCRIPTION="Python bindings for QtWebEngine"
HOMEPAGE="https://www.riverbankcomputing.com/software/pyqtwebengine/"
# TODO: drop this and uncomment 'pypi' on a proper bump
-MY_P=${PN/-/_}-$(ver_cut 1-3).dev$(ver_cut 5)
+MY_P=${PYPI_PN}-$(ver_cut 1-3).dev$(ver_cut 5)
SRC_URI="https://www.riverbankcomputing.com/pypi/packages/PyQt6-WebEngine/${MY_P}.tar.gz"
S=${WORKDIR}/${MY_P}