summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2023-07-24 12:06:03 -0400
committerIonen Wolkens <ionen@gentoo.org>2023-07-24 20:01:09 -0400
commit8934e60c98660e077a3bc42a0e8009c3dc744948 (patch)
treed7fe53940bf83a99fa3a31df2c0d2849bd795403 /dev-python/PyQt6-WebEngine
parentdev-python/PyQt6: add 6.5.2, enable py3.12 (diff)
downloadgentoo-8934e60c98660e077a3bc42a0e8009c3dc744948.tar.gz
gentoo-8934e60c98660e077a3bc42a0e8009c3dc744948.tar.bz2
gentoo-8934e60c98660e077a3bc42a0e8009c3dc744948.zip
dev-python/PyQt6-WebEngine: enable py3.12
Also sync small style/comment changes with PyQt6's ebuild, meant to do this on a bump like PyQt6 but this is still the latest. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'dev-python/PyQt6-WebEngine')
-rw-r--r--dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.5.0.ebuild14
1 files changed, 8 insertions, 6 deletions
diff --git a/dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.5.0.ebuild b/dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.5.0.ebuild
index 9e4ab2b11079..7b79fa8835d8 100644
--- a/dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.5.0.ebuild
+++ b/dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.5.0.ebuild
@@ -7,10 +7,10 @@ DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=sip
PYPI_NO_NORMALIZE=1
PYPI_PN=${PN/-/_}
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
inherit distutils-r1 flag-o-matic multiprocessing pypi qmake-utils
-QT_PV="$(ver_cut 1-2):6"
+QT_PV=$(ver_cut 1-2):6
DESCRIPTION="Python bindings for QtWebEngine"
HOMEPAGE="https://www.riverbankcomputing.com/software/pyqtwebengine/"
@@ -26,11 +26,13 @@ RDEPEND="
>=dev-qt/qtbase-${QT_PV}=
>=dev-qt/qtwebengine-${QT_PV}[widgets]
quick? ( dev-python/PyQt6[qml] )
- widgets? ( dev-python/PyQt6[network,printsupport,webchannel,widgets] )"
+ widgets? ( dev-python/PyQt6[network,printsupport,webchannel,widgets] )
+"
DEPEND="${RDEPEND}"
BDEPEND="
>=dev-python/PyQt-builder-1.15[${PYTHON_USEDEP}]
- >=dev-qt/qtbase-${QT_PV}"
+ >=dev-qt/qtbase-${QT_PV}
+"
src_prepare() {
default
@@ -47,10 +49,10 @@ src_prepare() {
python_configure_all() {
append-cxxflags -std=c++17 # for old gcc / clang that use <17 (bug #892331)
- append-cxxflags ${CPPFLAGS} # respect CPPFLAGS
+ append-cxxflags ${CPPFLAGS} # respect CPPFLAGS notably for DISTUTILS_EXT=1
DISTUTILS_ARGS=(
- --jobs=$(makeopts_jobs)
+ --jobs="$(makeopts_jobs)"
--qmake="$(qt6_get_bindir)"/qmake
--qmake-setting="$(qt6_get_qmake_args)"
--verbose