From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id F0ACE1584AD for ; Sat, 12 Apr 2025 10:22:20 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id DCB26343A55 for ; Sat, 12 Apr 2025 10:22:20 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id D571C1104B0; Sat, 12 Apr 2025 10:22:19 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id CA5FA1104B0 for ; Sat, 12 Apr 2025 10:22:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8233A343A52 for ; Sat, 12 Apr 2025 10:22:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 153EAF80 for ; Sat, 12 Apr 2025 10:22:18 +0000 (UTC) From: "Ionen Wolkens" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ionen Wolkens" Message-ID: <1744453300.e2d2f790ba815c24a9350477be301922bfa8f932.ionen@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: profiles/, dev-python/pyqt6-webengine/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pyqt6-webengine/Manifest dev-python/pyqt6-webengine/pyqt6-webengine-6.9.0.ebuild profiles/package.mask X-VCS-Directories: profiles/ dev-python/pyqt6-webengine/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: e2d2f790ba815c24a9350477be301922bfa8f932 X-VCS-Branch: master Date: Sat, 12 Apr 2025 10:22:18 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 602e60c8-0bac-4f38-8848-b8d69cbf9f70 X-Archives-Hash: c3e9f911bd27e568c6d18a70299bb895 commit: e2d2f790ba815c24a9350477be301922bfa8f932 Author: Ionen Wolkens gentoo org> AuthorDate: Sat Apr 12 10:09:50 2025 +0000 Commit: Ionen Wolkens gentoo 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 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*