diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-10-30 15:46:36 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-10-30 15:46:36 +0000 |
commit | 691395139ec5ea80983f870451c53bb6fff8298a (patch) | |
tree | 6a38689d6e69bebf65189be0d9d4e1c73ff7f4da /dev-python/PyQt6-WebEngine | |
parent | 310615add7b4be144ba0a7d7a156fe2c7949116d (diff) |
gentoo auto-resync : 30:10:2023 - 15:46:36
Diffstat (limited to 'dev-python/PyQt6-WebEngine')
-rw-r--r-- | dev-python/PyQt6-WebEngine/Manifest | 4 | ||||
-rw-r--r-- | dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.5.0-r1.ebuild (renamed from dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.5.0.ebuild) | 5 | ||||
-rw-r--r-- | dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.6.0.ebuild | 68 |
3 files changed, 75 insertions, 2 deletions
diff --git a/dev-python/PyQt6-WebEngine/Manifest b/dev-python/PyQt6-WebEngine/Manifest index f1c97b7b0c4c..e349ab8ed601 100644 --- a/dev-python/PyQt6-WebEngine/Manifest +++ b/dev-python/PyQt6-WebEngine/Manifest @@ -1,3 +1,5 @@ DIST PyQt6_WebEngine-6.5.0.tar.gz 31349 BLAKE2B 80ab4ad292107e5ca57c5b27f2af3747f9c28ebf2c1afe0f32fe1fbd6897dd701d7f46bda8f08c5f0048d4efef4c3c0087854acbc58a319163e328f74177b05c SHA512 bafa26cc800ec031fe9bb1e309832df79b41c5f43a6cdc8ecc2bc4b09c59b60975a67ede6190726db887689305e7a6012f705eb9b83c3e0c82a23f3f1c3880ff -EBUILD PyQt6-WebEngine-6.5.0.ebuild 1837 BLAKE2B 14c6bce4749c3f84e1e6a81b4a268691884f77048bb6182857720f021103502130bd3c92fa77919dfce9bdf7000eb2707c9d143f38eab464adeea3f08da31f73 SHA512 10ec7fdc07111a269f581d9992c84355eee509aa178ca6621b703b1ab3854ed94a2a666875607c761d359b4ab0b336abeac00415a484482de43b2bef7af9b68d +DIST PyQt6_WebEngine-6.6.0.tar.gz 31817 BLAKE2B 3e795bda50d1a5874e6caec7f69370840913cbbb33662ddc5624f0437c765e3318a2b4233d8e9963145dbeef8a4edc559112f114b850d9879eecb9e3e6b6fd2e SHA512 30927b7728d68cbeff6346234e131f96dfcd4b2af503d27d2f0a1eee584b5a928ac4fe1f66019c90aaf1ccd66fffe2edaf55de86d9aa0c83518c45669613bc0d +EBUILD PyQt6-WebEngine-6.5.0-r1.ebuild 1880 BLAKE2B a740265a17440333778f035658cb18374ba47678cd69de443d57f2e1d06d27a866d4cb35ea5e8ba74f71b0439bc1074d02b9f3b44e3739c4de41c0527228e048 SHA512 f101445388021ed436c5a12e9c9327b00b56fdc0b7f414b497c274a74cee5c8f38fa5b95179b75862f3ada7799c0e1153162e0bd12005b4a4d5995df9e6cad6e +EBUILD PyQt6-WebEngine-6.6.0.ebuild 1881 BLAKE2B 5703144d1c0a4f7f6abff6f2d3386366bf654a03a75f95e03c6aed40a6f379a774d15334be54bf360587555831d3411d6824b37ba36192aed6ed6e8b0ce7e973 SHA512 c0bbe6fc3a7bb39a7e8a3c42b46e53fa402a64a362fa6e8efffaa07c8eff751cced599ec2cb8f9ddac074909ecd90072198217b3fb6a55af16492305e541cd1a MISC metadata.xml 574 BLAKE2B 1cc3bbf5d25e8aac390530005c225bfc618fbb1bdef3a3d075f445eee2cf68d86feb6ac8841d7e0efd1679b19fc14b33b33accdd7e4932e742f46907a8f98601 SHA512 1af94b1a66be1dd38feb818ba973852912bacacc715e0bd893f8b3de56d17f8902b7486cc487137defad749773a6f728c470cbb9c62d15f91a63d80b16296604 diff --git a/dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.5.0.ebuild b/dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.5.0-r1.ebuild index c1372fd9c761..1352d97133e2 100644 --- a/dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.5.0.ebuild +++ b/dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.5.0-r1.ebuild @@ -24,7 +24,10 @@ RDEPEND=" >=dev-python/PyQt6-${PV}[gui,ssl,${PYTHON_USEDEP}] >=dev-qt/qtbase-${QT_PV}[gui,widgets?] >=dev-qt/qtwebengine-${QT_PV}[widgets] - quick? ( dev-python/PyQt6[qml] ) + quick? ( + dev-python/PyQt6[qml] + >=dev-qt/qtwebengine-${QT_PV}[qml(+)] + ) widgets? ( dev-python/PyQt6[network,printsupport,webchannel,widgets] ) " DEPEND="${RDEPEND}" diff --git a/dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.6.0.ebuild b/dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.6.0.ebuild new file mode 100644 index 000000000000..e27eda712e10 --- /dev/null +++ b/dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.6.0.ebuild @@ -0,0 +1,68 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=sip +PYPI_NO_NORMALIZE=1 +PYPI_PN=${PN/-/_} +PYTHON_COMPAT=( python3_{10..12} ) +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" +IUSE="debug quick +widgets" + +RDEPEND=" + >=dev-python/PyQt6-${PV}[gui,ssl,${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,webchannel,widgets] ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + >=dev-python/PyQt-builder-1.15[${PYTHON_USEDEP}] + >=dev-qt/qtbase-${QT_PV} +" + +src_prepare() { + default + + # hack: qmake queries g++ or clang++ for info depending on which qtbase was + # built with, but ignores CHOST failing with -native-symlinks (bug #726112) + # and potentially using wrong information when cross-compiling + 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') + ) +} |