diff --git a/dev-python/QtPy/Manifest b/dev-python/QtPy/Manifest new file mode 100644 index 0000000000000..2ed02ac56e71d --- /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 0000000000000..ae4e1e0cbe5ae --- /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 0000000000000..1f974af523769 --- /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 + +