summaryrefslogtreecommitdiff
path: root/dev-python/PyQt6-WebEngine
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-08-03 20:03:41 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-08-03 20:03:41 +0100
commit799073eb168d35819904276f6c912be4ac76166a (patch)
treeb7e4e28f5c6de5e5a382f7578cc5d3249c1e6ea6 /dev-python/PyQt6-WebEngine
parenta11ba9ffa8140a9c55c950a6947bc472b489a10a (diff)
gentoo auto-resync : 03:08:2022 - 20:03:40
Diffstat (limited to 'dev-python/PyQt6-WebEngine')
-rw-r--r--dev-python/PyQt6-WebEngine/Manifest3
-rw-r--r--dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.3.1.ebuild63
-rw-r--r--dev-python/PyQt6-WebEngine/metadata.xml16
3 files changed, 82 insertions, 0 deletions
diff --git a/dev-python/PyQt6-WebEngine/Manifest b/dev-python/PyQt6-WebEngine/Manifest
new file mode 100644
index 000000000000..ae92bbb24b66
--- /dev/null
+++ b/dev-python/PyQt6-WebEngine/Manifest
@@ -0,0 +1,3 @@
+DIST PyQt6_WebEngine-6.3.1.tar.gz 30607 BLAKE2B f07454684ce9c55ed8f477e7d7ba260af6d219b079e68d6752292310d1d8799b642acd3dad94b9259edfc9c41ee6249d2c1b69f57f7e5132dd71bc88e1e1d463 SHA512 61e30b6dbbd5d31dd03498b1d14279005bd00b59fe375f89b13cf318d5bdb6cbbf5449cd910303c9794ed14cbd25b0e63824ab952fc050d8c0451292c6f97be0
+EBUILD PyQt6-WebEngine-6.3.1.ebuild 1658 BLAKE2B a042e31c98a73c9e421fe9566e8c4a97e7ca94d5f95fa0a56f329ec7c2a6c4e98e43f84ef2ff51e951ddb381b3b772cbce09542ebfcfe7b5d25c0ac9f2a5e66b SHA512 3f870db76c5e2cea9aaf5a8ffde2d1db24f1f13e80239f0523ffd11dee2e30c25ca44dafc47863a2fc9669e4a18a3f33bf919807ed405591d290db4f8a467c4d
+MISC metadata.xml 572 BLAKE2B d0c911bf7d8f4f33e30daabfafe3447367045dce444dda4d8600ea47a844842996989ee7c64ccee6ce77a033bdbd1e7c58136e16ddd5f76a7b5688681f791d2c SHA512 11a8b7ab3fe9fa8e8a7160658aac5b8148a60f30b49bcba92cb08eee6d8f5021e4d117632dcddab98c9a0ebbbecd256ce09fbbe43f05105f7429355f9120e42f
diff --git a/dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.3.1.ebuild b/dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.3.1.ebuild
new file mode 100644
index 000000000000..b1ee942b454a
--- /dev/null
+++ b/dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.3.1.ebuild
@@ -0,0 +1,63 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=sip
+PYTHON_COMPAT=( python3_{8..11} )
+inherit distutils-r1 flag-o-matic multiprocessing qmake-utils
+
+QT_PV="6.3:6" # minimum tested qt version
+MY_P="${P/-/_}"
+
+DESCRIPTION="Python bindings for QtWebEngine"
+HOMEPAGE="https://www.riverbankcomputing.com/software/pyqtwebengine/"
+SRC_URI="mirror://pypi/${P::1}/${PN}/${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
+
+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}
+ >=dev-qt/qtwebengine-${QT_PV}[widgets]
+ quick? ( dev-python/PyQt6[qml] )
+ widgets? ( dev-python/PyQt6[network,printsupport,webchannel,widgets] )"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ >=dev-python/PyQt-builder-1.11[${PYTHON_USEDEP}]
+ >=dev-qt/qtbase-${QT_PV}
+ sys-devel/gcc"
+
+src_prepare() {
+ default
+
+ # hack: qmake wants g++ (not clang), try to respect ${CHOST} #726112
+ mkdir "${T}"/cxx || die
+ ln -s "$(type -P ${CHOST}-g++ || type -P g++ || die)" "${T}"/cxx/g++ || die
+ PATH=${T}/cxx:${PATH}
+}
+
+src_configure() {
+ append-cxxflags -std=c++17 # for clang and old gcc that default to <17
+
+ # workaround until bug 863395 has something to offer
+ local qmake6=$(qt5_get_bindir)/qmake6
+ qmake6=${qmake6//qt5/qt6}
+
+ DISTUTILS_ARGS=(
+ --jobs=$(makeopts_jobs)
+ --qmake="${qmake6}"
+ --qmake-setting="$(qt5_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/dev-python/PyQt6-WebEngine/metadata.xml b/dev-python/PyQt6-WebEngine/metadata.xml
new file mode 100644
index 000000000000..88c4a67e1477
--- /dev/null
+++ b/dev-python/PyQt6-WebEngine/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>ionen@gentoo.org</email>
+ <name>Ionen Wolkens</name>
+ </maintainer>
+ <use>
+ <flag name="quick">Build bindings for the QtWebEngineQuick module</flag>
+ <flag name="widgets">Build bindings for the QtWebEngineWidgets module</flag>
+ </use>
+ <upstream>
+ <bugs-to>https://www.riverbankcomputing.com/mailman/listinfo/pyqt/</bugs-to>
+ <remote-id type="pypi">PyQt6-WebEngine</remote-id>
+ </upstream>
+</pkgmetadata>