Gentoo Archives: gentoo-commits

From: Ionen Wolkens <ionen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/PyQt6-WebEngine/
Date: Sat, 28 Jan 2023 15:56:15
Message-Id: 1674921278.264719821a5bd4811515158139c00fab49689c53.ionen@gentoo
1 commit: 264719821a5bd4811515158139c00fab49689c53
2 Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jan 28 13:40:54 2023 +0000
4 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 28 15:54:38 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26471982
7
8 dev-python/PyQt6-WebEngine: sync ebuild with PyQt6
9
10 No 6.4.1 release (yet) to match PyQt6, so adjusting on its own.
11
12 Can skip revbump for QT_PV change as 6.3 was ok too, but to
13 avoid the need to track usage of new Qt features will limit
14 to major.minor Qt from now.
15
16 Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
17
18 dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.4.0.ebuild | 13 +++++--------
19 1 file changed, 5 insertions(+), 8 deletions(-)
20
21 diff --git a/dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.4.0.ebuild b/dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.4.0.ebuild
22 index 38114d7e72a3..8abd9c96b89b 100644
23 --- a/dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.4.0.ebuild
24 +++ b/dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.4.0.ebuild
25 @@ -7,7 +7,7 @@ DISTUTILS_USE_PEP517=sip
26 PYTHON_COMPAT=( python3_{9..11} )
27 inherit distutils-r1 flag-o-matic multiprocessing qmake-utils
28
29 -QT_PV="6.3:6" # minimum tested qt version
30 +QT_PV="$(ver_cut 1-2):6"
31 MY_P="${P/-/_}"
32
33 DESCRIPTION="Python bindings for QtWebEngine"
34 @@ -35,22 +35,19 @@ BDEPEND="
35 src_prepare() {
36 default
37
38 - # hack: qmake wants g++ (not clang), try to respect ${CHOST} #726112
39 + # hack: qmake queries g++ directly for info (not building) and that doesn't
40 + # work with clang, this is to make it at least respect CHOST (bug #726112)
41 mkdir "${T}"/cxx || die
42 ln -s "$(type -P ${CHOST}-g++ || type -P g++ || die)" "${T}"/cxx/g++ || die
43 PATH=${T}/cxx:${PATH}
44 }
45
46 src_configure() {
47 - append-cxxflags -std=c++17 # for clang and old gcc that default to <17
48 -
49 - # workaround until bug 863395 has something to offer
50 - local qmake6=$(qt5_get_bindir)/qmake
51 - qmake6=${qmake6//qt5/qt6}
52 + append-cxxflags -std=c++17 # for old gcc / clang that use <17 (bug #892331)
53
54 DISTUTILS_ARGS=(
55 --jobs=$(makeopts_jobs)
56 - --qmake="${qmake6}"
57 + --qmake="$(type -P qmake6 || die)"
58 --qmake-setting="$(qt5_get_qmake_args)"
59 --verbose