mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-25 21:08:35 -07:00
dev-python/QtPy: initial import
Package-Manager: portage-2.3.3
This commit is contained in:
1
dev-python/QtPy/Manifest
Normal file
1
dev-python/QtPy/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST QtPy-1.1.2.tar.gz 14390 SHA256 2abb462decc80fa4f0ba9ff18feaaab21a765d7d2d0808120f001f9a4c385946 SHA512 5f610e60ac6ed2f2b0eed59dd24537b34ccff8816afad059e056f47dd95d2dd49939ec6e0ebb816520a2ef075d8f9619903a4b2c79f18ed12e16eb60718e5c1d WHIRLPOOL 297112c79003b868aadbe404f70926bdbc0045c852b1f5f8d6000d0e7ce74c46a54667e7117787d1b5488e71a3120ef1553a3abb3d0f26f5416441c9314dac86
|
||||
38
dev-python/QtPy/QtPy-1.1.2.ebuild
Normal file
38
dev-python/QtPy/QtPy-1.1.2.ebuild
Normal file
@@ -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}]"
|
||||
25
dev-python/QtPy/metadata.xml
Normal file
25
dev-python/QtPy/metadata.xml
Normal file
@@ -0,0 +1,25 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>python@gentoo.org</email>
|
||||
<name>Gentoo Python Project</name>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
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.
|
||||
</longdescription>
|
||||
<use>
|
||||
<flag name="designer">Build bindings for the QtDesigner module and enable the designer plugin</flag>
|
||||
<flag name="gui">Build bindings for the QtGui module</flag>
|
||||
<flag name="svg">Build bindings for the QtSvg module</flag>
|
||||
<flag name="testlib">Build bindings for the QtTest module</flag>
|
||||
<flag name="webkit">Build bindings for the QtWebKit module</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user