From d18bf1e01b65ee4bf0c804e2843b282d3d4e5d7c Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 15 Jun 2021 14:57:03 +0100 Subject: gentoo resync : 15.06.2021 --- dev-python/PyQtWebEngine/Manifest | 2 + .../PyQtWebEngine/PyQtWebEngine-5.15.4.ebuild | 74 ++++++++++++++++++++++ 2 files changed, 76 insertions(+) create mode 100644 dev-python/PyQtWebEngine/PyQtWebEngine-5.15.4.ebuild (limited to 'dev-python/PyQtWebEngine') diff --git a/dev-python/PyQtWebEngine/Manifest b/dev-python/PyQtWebEngine/Manifest index 7c4af6ee1466..2bb03fd460bf 100644 --- a/dev-python/PyQtWebEngine/Manifest +++ b/dev-python/PyQtWebEngine/Manifest @@ -1,3 +1,5 @@ DIST PyQtWebEngine-5.15.2.tar.gz 48608 BLAKE2B a03f77b0cde0d1031e8f1c4c6b5d13a342c28cf814ebaaf4a2cdb4608ce40cdd8163783932abc76cda583c0fed7191653b537598a9ab65f6509ef88008538e31 SHA512 7e6d95833b1a9e5bb5275eff01e1923419da35d13862fc4cbb231cbf950ed45e628bc7e161b0b6b66c718ee439a1a8e66dd754cee9adcdf69ab1b8ffab58901e +DIST PyQtWebEngine-5.15.4.tar.gz 49022 BLAKE2B 0ac0b3424f22aabbfd733f2a876e502f133c81f639fbd87a4c7509865635b29d4bd3596ccc151b0919a28eff0015913c4fae1a831dbe774fe2d2aeee732e469b SHA512 25cf8578ffae8adbc1dd8d914921b4edf91f19fcf983c9c83c9c8934b4e918ba27bd34a6b9c8252773ec32e6f1f13a06f22cf7d7326a5aceaa91530ea4ee047e EBUILD PyQtWebEngine-5.15.2.ebuild 1665 BLAKE2B 54f976b7e747e2d50aabf99728fc79c1efc49d782d806782677b00c5d32780abc206265760cdb06184ff188c289213c795cb3f65f947f439c69621424192a258 SHA512 3679084254b292ad8b7f51ee80cd9ccbb2e6015965abce43f8c27edcd84ab7e15e83ae40d731404c42805dce598e5dca3a4f665354a3244b86f4e6cd4b573742 +EBUILD PyQtWebEngine-5.15.4.ebuild 1669 BLAKE2B 756eb59b01bf735e8292beabbd7b82f75286ff6a194eab790543c8361395e4017253ce9cc8ddc7736f1edfbbdfd8a9b464554e4832f29887c4b9fbcd67db01c8 SHA512 8f70ecdebd4bb9cf32afa77a064e6d6e46bceb986aaf726ba730ff0238e3248dacd7943a8393f8870b10f067242849eb434807a185e1048c5b51a38206e62394 MISC metadata.xml 958 BLAKE2B 3d360762116d92a71aee391ba8bb5eaeb4f8347f22c0bad7c05211d82cf9bf9ce04e74baa1691c3a48c7be7c3906c180234a7b3c33b76e56c6b94982ad0045f5 SHA512 06ed8222b239484fdb7d1e7ab35b922b9eea81ec144bace571355302d1b01dbd6bd80d2d5c03d1ec7f7edad851050305d2e87232f5580e92276018c7c4e9753f diff --git a/dev-python/PyQtWebEngine/PyQtWebEngine-5.15.4.ebuild b/dev-python/PyQtWebEngine/PyQtWebEngine-5.15.4.ebuild new file mode 100644 index 000000000000..d793680587d2 --- /dev/null +++ b/dev-python/PyQtWebEngine/PyQtWebEngine-5.15.4.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..10} ) +inherit python-r1 qmake-utils + +DESCRIPTION="Python bindings for QtWebEngine" +HOMEPAGE="https://www.riverbankcomputing.com/software/pyqtwebengine/intro" + +MY_P=${PN}-${PV/_pre/.dev} +if [[ ${PV} == *_pre* ]]; then + SRC_URI="https://dev.gentoo.org/~pesa/distfiles/${MY_P}.tar.gz" +else + SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" +fi +S=${WORKDIR}/${MY_P} + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="debug" + +REQUIRED_USE=" + ${PYTHON_REQUIRED_USE} +" + +RDEPEND=" + ${PYTHON_DEPS} + >=dev-python/PyQt5-5.15[gui,network,printsupport,ssl,webchannel,widgets,${PYTHON_USEDEP}] + >=dev-python/PyQt5-sip-4.19.22:=[${PYTHON_USEDEP}] + dev-qt/qtcore:5 + dev-qt/qtwebengine:5[widgets] +" +DEPEND="${RDEPEND} + >=dev-python/sip-4.19.22[${PYTHON_USEDEP}] +" + +src_configure() { + configuration() { + local myconf=( + "${EPYTHON}" + "${S}"/configure.py + --qmake="$(qt5_get_bindir)"/qmake + $(usex debug '--debug --trace' '') + --verbose + ) + echo "${myconf[@]}" + "${myconf[@]}" || die + + # Fix parallel install failure + sed -i -e '/INSTALLS += distinfo/i distinfo.depends = install_subtargets install_pep484_stubs install_api' \ + ${PN}.pro || die + + # Run eqmake to respect toolchain and build flags + eqmake5 -recursive ${PN}.pro + } + python_foreach_impl run_in_build_dir configuration +} + +src_compile() { + python_foreach_impl run_in_build_dir default +} + +src_install() { + installation() { + emake INSTALL_ROOT="${D}" install + python_optimize + } + python_foreach_impl run_in_build_dir installation + + einstalldocs +} -- cgit v1.2.3