* [gentoo-commits] repo/gentoo:master commit in: profiles/, dev-python/pyqt6-webengine/
@ 2025-04-12 10:22 Ionen Wolkens
0 siblings, 0 replies; only message in thread
From: Ionen Wolkens @ 2025-04-12 10:22 UTC (permalink / raw
To: gentoo-commits
commit: e2d2f790ba815c24a9350477be301922bfa8f932
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 12 10:09:50 2025 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Sat Apr 12 10:21:40 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2d2f790
dev-python/pyqt6-webengine: add 6.9.0
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
dev-python/pyqt6-webengine/Manifest | 1 +
.../pyqt6-webengine/pyqt6-webengine-6.9.0.ebuild | 67 ++++++++++++++++++++++
profiles/package.mask | 1 +
3 files changed, 69 insertions(+)
diff --git a/dev-python/pyqt6-webengine/Manifest b/dev-python/pyqt6-webengine/Manifest
index 13bcfeafb9a4..a0620fb74845 100644
--- a/dev-python/pyqt6-webengine/Manifest
+++ b/dev-python/pyqt6-webengine/Manifest
@@ -1 +1,2 @@
DIST PyQt6_WebEngine-6.8.0.tar.gz 34203 BLAKE2B eeec38d0804039fa4d80d9c621457e18c4ae7831f351401b552191f3db8899102a4396164a1df89597460a9d6591a5d885b1bd813f226094c853aedb0918e3c4 SHA512 f48575829ccf9350ec6e743f2185975706c149dd37b8fbdf5c76bb65f606084b3d3c732ce39bfd35317d1e65659d5ec6e77b489a83c43971b5b3b3ce278bd8dc
+DIST pyqt6_webengine-6.9.0.tar.gz 34616 BLAKE2B ce6143b16e60ad133c827996f03b310008b025f616739d4c7949dc8916513dfd24bcb44d269465a1bffe1a608728f77d381a15363d3761815d54622ab7490a33 SHA512 3e84439fa7f2ab1c231eac556545968d37e7bef30779d09376eedb5861ab47f9a83e72c8834fbfa4aef27a61e4ff2d797615e3f80362bcd1613954d27af8c6a8
diff --git a/dev-python/pyqt6-webengine/pyqt6-webengine-6.9.0.ebuild b/dev-python/pyqt6-webengine/pyqt6-webengine-6.9.0.ebuild
new file mode 100644
index 000000000000..e9200e6a516a
--- /dev/null
+++ b/dev-python/pyqt6-webengine/pyqt6-webengine-6.9.0.ebuild
@@ -0,0 +1,67 @@
+# Copyright 2022-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=sip
+PYTHON_COMPAT=( python3_{10..13} )
+inherit distutils-r1 flag-o-matic multiprocessing pypi qmake-utils
+
+QT_PV=$(ver_cut 1-2):6
+
+DESCRIPTION="Python bindings for QtWebEngine"
+HOMEPAGE="https://www.riverbankcomputing.com/software/pyqtwebengine/"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+IUSE="debug quick +widgets"
+
+RDEPEND="
+ >=dev-python/pyqt6-${QT_PV%:*}[gui,ssl,webchannel,${PYTHON_USEDEP}]
+ >=dev-qt/qtbase-${QT_PV}[gui,widgets?]
+ >=dev-qt/qtwebengine-${QT_PV}[widgets]
+ quick? (
+ dev-python/pyqt6[qml]
+ >=dev-qt/qtwebengine-${QT_PV}[qml]
+ )
+ widgets? ( dev-python/pyqt6[network,printsupport,widgets] )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ >=dev-python/pyqt-builder-1.17[${PYTHON_USEDEP}]
+ >=dev-python/sip-6.9[${PYTHON_USEDEP}]
+ >=dev-qt/qtbase-${QT_PV}
+"
+
+src_prepare() {
+ default
+
+ # hack: PyQt-builder runs qmake without our arguments and calls g++
+ # or clang++ depending on what qtbase was built with, not used for
+ # building but fails with -native-symlinks
+ mkdir "${T}"/cxx || die
+ local cxx
+ ! cxx=$(type -P "${CHOST}"-g++) || ln -s -- "${cxx}" "${T}"/cxx/g++ || die
+ ! cxx=$(type -P "${CHOST}"-clang++) || ln -s -- "${cxx}" "${T}"/cxx/clang++ || die
+ PATH=${T}/cxx:${PATH}
+}
+
+python_configure_all() {
+ append-cxxflags -std=c++17 # for old gcc / clang that use <17 (bug #892331)
+ append-cxxflags ${CPPFLAGS} # respect CPPFLAGS notably for DISTUTILS_EXT=1
+
+ DISTUTILS_ARGS=(
+ --jobs="$(makeopts_jobs)"
+ --qmake="$(qt6_get_bindir)"/qmake
+ --qmake-setting="$(qt6_get_qmake_args)"
+ --verbose
+
+ --enable=QtWebEngineCore
+ $(usex quick --{enable,disable}=QtWebEngineQuick)
+ $(usex widgets --{enable,disable}=QtWebEngineWidgets)
+
+ $(usev debug '--debug --qml-debug --tracing')
+ )
+}
diff --git a/profiles/package.mask b/profiles/package.mask
index 10613797b671..b8bdd285f85d 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -76,6 +76,7 @@ app-text/kchmviewer
# depending on issues. If wanted, feel free to add `dev-qt/*:6/6.9.0`
# to package.unmask and report issues.
=dev-python/pyqt6-6.9*
+=dev-python/pyqt6-webengine-6.9*
=dev-python/pyside-6.9.0*
=dev-qt/qt-docs-6.9.0*
=dev-qt/qt3d-6.9.0*
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2025-04-12 10:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-12 10:22 [gentoo-commits] repo/gentoo:master commit in: profiles/, dev-python/pyqt6-webengine/ Ionen Wolkens
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox