From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 459A91382C5 for ; Thu, 11 Jun 2020 01:44:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 73450E0992; Thu, 11 Jun 2020 01:44:15 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4BB86E0992 for ; Thu, 11 Jun 2020 01:44:15 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id ED65334F1D0 for ; Thu, 11 Jun 2020 01:44:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 87C19291 for ; Thu, 11 Jun 2020 01:44:11 +0000 (UTC) From: "Davide Pesavento" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Davide Pesavento" Message-ID: <1591839846.c5f61d6aafe4347cb0864aeaef0f564ec2e2ab17.pesa@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/PyQtWebEngine/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/PyQtWebEngine/Manifest dev-python/PyQtWebEngine/PyQtWebEngine-5.15.0.ebuild X-VCS-Directories: dev-python/PyQtWebEngine/ X-VCS-Committer: pesa X-VCS-Committer-Name: Davide Pesavento X-VCS-Revision: c5f61d6aafe4347cb0864aeaef0f564ec2e2ab17 X-VCS-Branch: master Date: Thu, 11 Jun 2020 01:44:11 +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: 564d36e3-446d-4de4-89a5-83ca997d1149 X-Archives-Hash: f288a6273b32abaa1c2b027e680738a7 commit: c5f61d6aafe4347cb0864aeaef0f564ec2e2ab17 Author: Davide Pesavento gentoo org> AuthorDate: Thu Jun 11 01:43:32 2020 +0000 Commit: Davide Pesavento gentoo org> CommitDate: Thu Jun 11 01:44:06 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5f61d6a dev-python/PyQtWebEngine: add 5.15.0 Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Davide Pesavento gentoo.org> dev-python/PyQtWebEngine/Manifest | 1 + .../PyQtWebEngine/PyQtWebEngine-5.15.0.ebuild | 75 ++++++++++++++++++++++ 2 files changed, 76 insertions(+) diff --git a/dev-python/PyQtWebEngine/Manifest b/dev-python/PyQtWebEngine/Manifest index 8970a7199ab..b4d308225b6 100644 --- a/dev-python/PyQtWebEngine/Manifest +++ b/dev-python/PyQtWebEngine/Manifest @@ -1 +1,2 @@ DIST PyQtWebEngine-5.14.0.tar.gz 47794 BLAKE2B 28f4a577ab5d8c1bea439b11e836008d27b4a49f31f230885013b515147a95c97e398328d1fc3a99619c3fd6eca3da7e94bf5873de9ac6511e0f59e467d4490c SHA512 c5274ce5ba1c80c6851971c3e18acf33121cd5863f613bd1789fdb40323b52429b55b54f3dcbb3127c85343e11f14c004ad54711b2b59cab95fd440f90fe5f2e +DIST PyQtWebEngine-5.15.0.tar.gz 48308 BLAKE2B 18a0b83c245a738f144cb21ddc483646099dc6469b0ecfe634d0341c555db17724cb97901082d2d93668a9e64b9163496afba8d7928f8e49013bcdcdb3747105 SHA512 9bc74e4c7c49a42a5a1a75c75cf14d30e7e9202b6f98591d79dd7f47d44909a1c95a1b38cd47adc8182429c43d1d45d90b2c3d0f105b90ed7ebfbb33a2622322 diff --git a/dev-python/PyQtWebEngine/PyQtWebEngine-5.15.0.ebuild b/dev-python/PyQtWebEngine/PyQtWebEngine-5.15.0.ebuild new file mode 100644 index 00000000000..4d322572d51 --- /dev/null +++ b/dev-python/PyQtWebEngine/PyQtWebEngine-5.15.0.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python2_7 python3_{6..9} ) +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 + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="debug" + +REQUIRED_USE=" + ${PYTHON_REQUIRED_USE} +" + +RDEPEND=" + ${PYTHON_DEPS} + >=dev-python/PyQt5-5.14[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}] +" + +S=${WORKDIR}/${MY_P} + +src_configure() { + configuration() { + local myconf=( + "${PYTHON}" + "${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 +}