summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2012-01-15 22:01:24 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2012-01-15 22:01:24 +0000
commit1657c0e2acf65c76708ea24084295a5705a60e76 (patch)
treef522ac77b0f5b0c3d818fa42a89f64e2fa78fa08 /dev-python/pyside
parentRemove old. (diff)
downloadgentoo-2-1657c0e2acf65c76708ea24084295a5705a60e76.tar.gz
gentoo-2-1657c0e2acf65c76708ea24084295a5705a60e76.tar.bz2
gentoo-2-1657c0e2acf65c76708ea24084295a5705a60e76.zip
version bump. Add one useflag per module. Bug #369127. Add use dependency to accessebility Qt useflag. Bug #385051
(Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/pyside')
-rw-r--r--dev-python/pyside/ChangeLog11
-rw-r--r--dev-python/pyside/metadata.xml23
-rw-r--r--dev-python/pyside/pyside-1.1.0.ebuild87
3 files changed, 116 insertions, 5 deletions
diff --git a/dev-python/pyside/ChangeLog b/dev-python/pyside/ChangeLog
index cc73c33e34ac..0a682d072936 100644
--- a/dev-python/pyside/ChangeLog
+++ b/dev-python/pyside/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-python/pyside
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pyside/ChangeLog,v 1.22 2011/12/27 11:59:32 patrick Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyside/ChangeLog,v 1.23 2012/01/15 22:01:24 hwoarang Exp $
+
+*pyside-1.1.0 (15 Jan 2012)
+
+ 15 Jan 2012; Markos Chandras <hwoarang@gentoo.org> +pyside-1.1.0.ebuild,
+ metadata.xml:
+ version bump. Add one useflag per module. Bug #369127. Add use dependency to
+ accessebility Qt useflag. Bug #385051
*pyside-1.0.9 (27 Dec 2011)
diff --git a/dev-python/pyside/metadata.xml b/dev-python/pyside/metadata.xml
index 37b9640e6ce9..41f58ec0a3e0 100644
--- a/dev-python/pyside/metadata.xml
+++ b/dev-python/pyside/metadata.xml
@@ -2,7 +2,24 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>qt</herd>
- <longdescription lang="en">
- </longdescription>
+ <maintainer>
+ <email>hwoarang@gentoo.org</email>
+ <name>Markos Chandras</name>
+ </maintainer>
+ <use>
+ <flag name="X">Build the QtGui and QtDesigner modules</flag>
+ <flag name="assistant">Build the QtHelp module</flag>
+ <flag name="declarative">Build the QtDeclarative module</flag>
+ <flag name="help">Build the QtHelp module</flag>
+ <flag name="kde">Select <pkg>media-sound/phonon</pkg> as Phonon variant needed for KDE</flag>
+ <flag name="multimedia">Build the QtMultimedia module</flag>
+ <flag name="opengl">Build the QtOpenGL module</flag>
+ <flag name="phonon">Build the phonon module</flag>
+ <flag name="script">Build the QtScript module</flag>
+ <flag name="sql">Build the QtSql module</flag>
+ <flag name="svg">Build the QtSvg module</flag>
+ <flag name="test">Build the QtTest module</flag>
+ <flag name="webkit">Build the QtWebKit module</flag>
+ <flag name="xmlpatterns">Build the QtXmlPatterns module</flag>
+ </use>
</pkgmetadata>
-
diff --git a/dev-python/pyside/pyside-1.1.0.ebuild b/dev-python/pyside/pyside-1.1.0.ebuild
new file mode 100644
index 000000000000..1690d7b3c1f7
--- /dev/null
+++ b/dev-python/pyside/pyside-1.1.0.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyside/pyside-1.1.0.ebuild,v 1.1 2012/01/15 22:01:24 hwoarang Exp $
+
+EAPI=4
+
+PYTHON_DEPEND="2:2.5"
+
+inherit base python cmake-utils virtualx
+
+MY_P="${PN}-qt4.7+${PV}"
+
+DESCRIPTION="Python bindings for the Qt framework"
+HOMEPAGE="http://www.pyside.org/"
+SRC_URI="http://www.pyside.org/files/${MY_P}.tar.bz2"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="assistant debug declarative help multimedia kde opengl phonon script sql svg test webkit
+X xmlpatterns"
+
+QT_PV="4.7.0"
+
+RDEPEND=">=x11-libs/qt-core-${QT_PV}
+ assistant? ( >=x11-libs/qt-assistant-${QT_PV} )
+ X? ( >=x11-libs/qt-gui-${QT_PV}[accessibility] )
+ multimedia? ( >=x11-libs/qt-multimedia-${QT_PV} )
+ opengl? ( >=x11-libs/qt-opengl-${QT_PV} )
+ phonon? (
+ kde? ( media-libs/phonon )
+ !kde? (
+ || (
+ >=x11-libs/qt-phonon-${QT_PV}
+ media-libs/phonon
+ )
+ )
+ )
+ script? ( >=x11-libs/qt-script-${QT_PV} )
+ sql? ( >=x11-libs/qt-sql-${QT_PV} )
+ svg? ( >=x11-libs/qt-svg-${QT_PV}[accessibility] )
+ webkit? ( >=x11-libs/qt-webkit-${QT_PV} )
+ xmlpatterns? ( >=x11-libs/qt-xmlpatterns-${QT_PV} )"
+
+DEPEND="${RDEPEND}
+ >=dev-python/shiboken-1.0.10
+ test? ( >=x11-libs/qt-test-${QT_PV} )"
+
+S="${WORKDIR}/${MY_P}"
+
+DOCS=( "ChangeLog" )
+
+REQUIRED_USE="opengl? ( X ) svg? ( X ) script? ( X ) X? ( script )"
+
+cmake-utils_use_build() {
+ use ${1} || echo "-DDISABLE_${2:-$1}=1"
+}
+
+pkg_setup() {
+ python_set_active_version 2
+}
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake-utils_use_build test TESTS)
+ $(cmake-utils_use_build X QtGui)
+ $(cmake-utils_use_build X QtDesigner)
+ $(cmake-utils_use_build X QtScriptTools)
+ $(cmake-utils_use_build multimedia QtMultimedia)
+ $(cmake-utils_use_build declarative QtDeclarative)
+ $(cmake-utils_use_build opengl QtOpenGL)
+ $(cmake-utils_use_build phonon QtPhonon)
+ $(cmake-utils_use_build script QtScript)
+ $(cmake-utils_use_build sql QtSql)
+ $(cmake-utils_use_build svg QtSvg)
+ $(cmake-utils_use_build test QtTest)
+ $(cmake-utils_use_build webkit QtWebKit)
+ $(cmake-utils_use_build xmlpatterns QtXmlPatterns)
+ $(cmake-utils_use_build assistant QtHelp)
+ )
+ cmake-utils_src_configure
+}
+
+src_test() {
+ VIRTUALX_COMMAND="cmake-utils_src_test"
+ virtualmake
+}