From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1098996-garchives=archives.gentoo.org@lists.gentoo.org> 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 9F068138335 for <garchives@archives.gentoo.org>; Wed, 10 Jul 2019 05:48:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BA4CBE089A; Wed, 10 Jul 2019 05:48:53 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 8F148E089A for <gentoo-commits@lists.gentoo.org>; Wed, 10 Jul 2019 05:48:53 +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 2BA94347512 for <gentoo-commits@lists.gentoo.org>; Wed, 10 Jul 2019 05:48:52 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 58B4B6DF for <gentoo-commits@lists.gentoo.org>; Wed, 10 Jul 2019 05:48:50 +0000 (UTC) From: "Davide Pesavento" <pesa@gentoo.org> 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" <pesa@gentoo.org> Message-ID: <1562737721.46a59a9dc0569ff1a2cf8d73a77a9ec3dc7a916c.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.13.0.ebuild X-VCS-Directories: dev-python/PyQtWebEngine/ X-VCS-Committer: pesa X-VCS-Committer-Name: Davide Pesavento X-VCS-Revision: 46a59a9dc0569ff1a2cf8d73a77a9ec3dc7a916c X-VCS-Branch: master Date: Wed, 10 Jul 2019 05:48:50 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 9548e47e-f2fd-4f26-b2eb-03aeabe36d36 X-Archives-Hash: 2697a5cdf2401b2123b1d7cedfc171a8 commit: 46a59a9dc0569ff1a2cf8d73a77a9ec3dc7a916c Author: Davide Pesavento <pesa <AT> gentoo <DOT> org> AuthorDate: Wed Jul 10 05:48:16 2019 +0000 Commit: Davide Pesavento <pesa <AT> gentoo <DOT> org> CommitDate: Wed Jul 10 05:48:41 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46a59a9d dev-python/PyQtWebEngine: add 5.13.0 Package-Manager: Portage-2.3.68, Repoman-2.3.16 Signed-off-by: Davide Pesavento <pesa <AT> gentoo.org> dev-python/PyQtWebEngine/Manifest | 1 + .../PyQtWebEngine/PyQtWebEngine-5.13.0.ebuild | 73 ++++++++++++++++++++++ 2 files changed, 74 insertions(+) diff --git a/dev-python/PyQtWebEngine/Manifest b/dev-python/PyQtWebEngine/Manifest index f8fee855550..f074805f854 100644 --- a/dev-python/PyQtWebEngine/Manifest +++ b/dev-python/PyQtWebEngine/Manifest @@ -1 +1,2 @@ DIST PyQtWebEngine_gpl-5.12.1.tar.gz 42474 BLAKE2B 6cb333d8e429ae6b9f8c20a7486754767639693351605e85c0226ab3f1f065a549d40d69669d91f501fdf2c30346304a547e36b416d275a8bfe4ea621c0633b7 SHA512 2bcb0e4da51de9cfb5128e03c03ada77f2d4b99b0885da910584717681b96759ce4301c325cbbf43602d46746e2d37d81ed62f77dd63b33359fd5fae74d7f010 +DIST PyQtWebEngine_gpl-5.13.0.tar.gz 43939 BLAKE2B 151bfb9b7a619fe581078ce9fd42f54377673fc8873719577cddc40a7254c37b794c31baef0086897f9ed3d7914add0ac5c930dadde916ddc11e37cee428a279 SHA512 2dedffb7bde073922b357118d4bbd0327b81baaba3c69c6cf85f57401b5998bac56e01f2f7b39268b4a1e13c0b34ed116564d7f4f5975d1075d4242b1b06c065 diff --git a/dev-python/PyQtWebEngine/PyQtWebEngine-5.13.0.ebuild b/dev-python/PyQtWebEngine/PyQtWebEngine-5.13.0.ebuild new file mode 100644 index 00000000000..7ca87eb7b53 --- /dev/null +++ b/dev-python/PyQtWebEngine/PyQtWebEngine-5.13.0.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python2_7 python3_{5,6,7} ) +inherit python-r1 qmake-utils + +DESCRIPTION="Python bindings for QtWebEngine" +HOMEPAGE="https://www.riverbankcomputing.com/software/pyqtwebengine/intro" + +MY_PN=PyQtWebEngine +MY_P=${MY_PN}_gpl-${PV/_pre/.dev} +if [[ ${PV} == *_pre* ]]; then + SRC_URI="https://dev.gentoo.org/~pesa/distfiles/${MY_P}.tar.gz" +else + SRC_URI="https://www.riverbankcomputing.com/static/Downloads/${MY_PN}/${PV}/${MY_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.13[gui,network,printsupport,webchannel,widgets,${PYTHON_USEDEP}] + >=dev-python/PyQt5-sip-4.19.14:=[${PYTHON_USEDEP}] + dev-qt/qtcore:5 + dev-qt/qtwebengine:5[widgets] +" +DEPEND="${RDEPEND} + >=dev-python/sip-4.19.14[${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' ${MY_PN}.pro || die + + # Run eqmake to respect toolchain and build flags + eqmake5 -recursive ${MY_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 +}