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 7FFAE138334 for ; Wed, 3 Apr 2019 01:01:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 78376E0B63; Wed, 3 Apr 2019 01:01:20 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 3D1FDE0B63 for ; Wed, 3 Apr 2019 01:01:20 +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 38AC6335D24 for ; Wed, 3 Apr 2019 01:01:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A2F7B58E for ; Wed, 3 Apr 2019 01:01:15 +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: <1554253204.f825780d71b5783c4f7a3845fa0fb61c68ed0194.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.12.1.ebuild dev-python/PyQtWebEngine/metadata.xml X-VCS-Directories: dev-python/PyQtWebEngine/ X-VCS-Committer: pesa X-VCS-Committer-Name: Davide Pesavento X-VCS-Revision: f825780d71b5783c4f7a3845fa0fb61c68ed0194 X-VCS-Branch: master Date: Wed, 3 Apr 2019 01:01:15 +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: 01252afd-9db4-44b3-ba95-9bf51b17a3bf X-Archives-Hash: 57214363ba47246d1755f98ef6887154 commit: f825780d71b5783c4f7a3845fa0fb61c68ed0194 Author: Stefan Strogin gmail com> AuthorDate: Thu Mar 21 04:22:05 2019 +0000 Commit: Davide Pesavento gentoo org> CommitDate: Wed Apr 3 01:00:04 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f825780d dev-python/PyQtWebEngine: new package PyQtWebEngine is a set of Python bindings for Qt WebEngine framework. Before PyQt5-5.12 these bindings were a part of PyQt5. Now it is a separate package. Packages that depended on dev-python/PyQt5[webengine] now must depend on dev-python/PyQtWebEngine. Closes: https://bugs.gentoo.org/679202 Closes: https://github.com/gentoo/gentoo/pull/11432 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Stefan Strogin gmail.com> Signed-off-by: Davide Pesavento gentoo.org> dev-python/PyQtWebEngine/Manifest | 1 + .../PyQtWebEngine/PyQtWebEngine-5.12.1.ebuild | 73 ++++++++++++++++++++++ dev-python/PyQtWebEngine/metadata.xml | 32 ++++++++++ 3 files changed, 106 insertions(+) diff --git a/dev-python/PyQtWebEngine/Manifest b/dev-python/PyQtWebEngine/Manifest new file mode 100644 index 00000000000..f8fee855550 --- /dev/null +++ b/dev-python/PyQtWebEngine/Manifest @@ -0,0 +1 @@ +DIST PyQtWebEngine_gpl-5.12.1.tar.gz 42474 BLAKE2B 6cb333d8e429ae6b9f8c20a7486754767639693351605e85c0226ab3f1f065a549d40d69669d91f501fdf2c30346304a547e36b416d275a8bfe4ea621c0633b7 SHA512 2bcb0e4da51de9cfb5128e03c03ada77f2d4b99b0885da910584717681b96759ce4301c325cbbf43602d46746e2d37d81ed62f77dd63b33359fd5fae74d7f010 diff --git a/dev-python/PyQtWebEngine/PyQtWebEngine-5.12.1.ebuild b/dev-python/PyQtWebEngine/PyQtWebEngine-5.12.1.ebuild new file mode 100644 index 00000000000..3ce48a7c942 --- /dev/null +++ b/dev-python/PyQtWebEngine/PyQtWebEngine-5.12.1.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.12[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 +} diff --git a/dev-python/PyQtWebEngine/metadata.xml b/dev-python/PyQtWebEngine/metadata.xml new file mode 100644 index 00000000000..c63098a37ce --- /dev/null +++ b/dev-python/PyQtWebEngine/metadata.xml @@ -0,0 +1,32 @@ + + + + + qt@gentoo.org + Gentoo Qt Project + + + stefan.strogin@gmail.com + Stefan Strogin + + + proxy-maint@gentoo.org + Proxy Maintainers + + + PyQtWebEngine is a set of Python bindings for The Qt Company's + Qt WebEngine libraries. The bindings sit on top of PyQt5 and + are implemented as a set of three modules. Prior to v5.12 these + bindings were part of PyQt5 itself. + + + + phil@riverbankcomputing.com + Phil Thompson + + https://www.riverbankcomputing.com/static/Downloads/PyQtWebEngine/ChangeLog + https://www.riverbankcomputing.com/static/Docs/PyQt5/ + mailto:pyqt@riverbankcomputing.com + PyQtWebEngine + +