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 A9E121395E3 for ; Sat, 10 Dec 2016 02:05:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BD577E0D13; Sat, 10 Dec 2016 02:05:28 +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-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8D9BBE0D13 for ; Sat, 10 Dec 2016 02:05:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 80A99341653 for ; Sat, 10 Dec 2016 02:05:27 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AAC3C24C4 for ; Sat, 10 Dec 2016 02:05:25 +0000 (UTC) From: "Sebastien Fabbro" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sebastien Fabbro" Message-ID: <1481335505.b5d8435a1be8b264bf4b209ca3425e5ac7bf34bf.bicatali@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/QtPy/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/QtPy/Manifest dev-python/QtPy/QtPy-1.1.2.ebuild dev-python/QtPy/metadata.xml X-VCS-Directories: dev-python/QtPy/ X-VCS-Committer: bicatali X-VCS-Committer-Name: Sebastien Fabbro X-VCS-Revision: b5d8435a1be8b264bf4b209ca3425e5ac7bf34bf X-VCS-Branch: master Date: Sat, 10 Dec 2016 02:05:25 +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-Archives-Salt: ebe4ebec-463a-46b8-a9d0-778ac32f50f0 X-Archives-Hash: 048f87ae80bb63fb80b439c455e3fca9 commit: b5d8435a1be8b264bf4b209ca3425e5ac7bf34bf Author: Sébastien Fabbro gentoo org> AuthorDate: Sat Dec 10 00:21:03 2016 +0000 Commit: Sebastien Fabbro gentoo org> CommitDate: Sat Dec 10 02:05:05 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5d8435a dev-python/QtPy: initial import Package-Manager: portage-2.3.3 dev-python/QtPy/Manifest | 1 + dev-python/QtPy/QtPy-1.1.2.ebuild | 38 ++++++++++++++++++++++++++++++++++++++ dev-python/QtPy/metadata.xml | 25 +++++++++++++++++++++++++ 3 files changed, 64 insertions(+) diff --git a/dev-python/QtPy/Manifest b/dev-python/QtPy/Manifest new file mode 100644 index 00000000..2ed02ac --- /dev/null +++ b/dev-python/QtPy/Manifest @@ -0,0 +1 @@ +DIST QtPy-1.1.2.tar.gz 14390 SHA256 2abb462decc80fa4f0ba9ff18feaaab21a765d7d2d0808120f001f9a4c385946 SHA512 5f610e60ac6ed2f2b0eed59dd24537b34ccff8816afad059e056f47dd95d2dd49939ec6e0ebb816520a2ef075d8f9619903a4b2c79f18ed12e16eb60718e5c1d WHIRLPOOL 297112c79003b868aadbe404f70926bdbc0045c852b1f5f8d6000d0e7ce74c46a54667e7117787d1b5488e71a3120ef1553a3abb3d0f26f5416441c9314dac86 diff --git a/dev-python/QtPy/QtPy-1.1.2.ebuild b/dev-python/QtPy/QtPy-1.1.2.ebuild new file mode 100644 index 00000000..ae4e1e0 --- /dev/null +++ b/dev-python/QtPy/QtPy-1.1.2.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5} ) + +inherit distutils-r1 + +DESCRIPTION="Abtraction layer for PyQt5/PyQt4/PySide" +HOMEPAGE="https://github.com/spyder-ide/qtpy" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" + +IUSE="designer gui svg testlib webkit" + +RDEPEND=" + || ( + dev-python/PyQt5[${PYTHON_USEDEP},designer=,svg=,webkit=] + dev-python/PyQt4[${PYTHON_USEDEP},designer=,svg=,webkit=] + dev-python/pyside[${PYTHON_USEDEP},designer=,svg=,webkit=] + ) + gui? ( || ( + dev-python/PyQt5[${PYTHON_USEDEP},gui] + dev-python/PyQt4[${PYTHON_USEDEP},X] + dev-python/pyside[${PYTHON_USEDEP},X] + ) ) + testlib? ( || ( + dev-python/PyQt5[${PYTHON_USEDEP},testlib] + dev-python/PyQt4[${PYTHON_USEDEP},testlib] + dev-python/pyside[${PYTHON_USEDEP},X] + ) )" + +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" diff --git a/dev-python/QtPy/metadata.xml b/dev-python/QtPy/metadata.xml new file mode 100644 index 00000000..1f974af --- /dev/null +++ b/dev-python/QtPy/metadata.xml @@ -0,0 +1,25 @@ + + + + + python@gentoo.org + Gentoo Python Project + + + QtPy is a small abstraction layer that lets you write + applications using a single API call to either PyQt or + PySide. QtPy also provides a set of additional QWidgets. It + provides support for PyQt5, PyQt4 and PySide using the PyQt5 + layout (where the QtGui module has been split into QtGui and + QtWidgets). + Basically, you write your code as if you were using PyQt5 but + import qt from QtPy instead of PyQt5. + + + Build bindings for the QtDesigner module and enable the designer plugin + Build bindings for the QtGui module + Build bindings for the QtSvg module + Build bindings for the QtTest module + Build bindings for the QtWebKit module + +