summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavide Pesavento <pesa@gentoo.org>2013-03-08 08:35:15 +0000
committerDavide Pesavento <pesa@gentoo.org>2013-03-08 08:35:15 +0000
commitab1f1c94ff85772451429e0197f0eaccfb9cb66d (patch)
treee58b6a470d031e848a82f16c06623429868ad6df /dev-python/pyside
parentRemove old. (diff)
downloadgentoo-2-ab1f1c94ff85772451429e0197f0eaccfb9cb66d.tar.gz
gentoo-2-ab1f1c94ff85772451429e0197f0eaccfb9cb66d.tar.bz2
gentoo-2-ab1f1c94ff85772451429e0197f0eaccfb9cb66d.zip
old
(Portage version: 2.2.0_alpha166/cvs/Linux x86_64, signed Manifest commit with key 17A85C72)
Diffstat (limited to 'dev-python/pyside')
-rw-r--r--dev-python/pyside/ChangeLog5
-rw-r--r--dev-python/pyside/pyside-1.1.2.ebuild133
2 files changed, 4 insertions, 134 deletions
diff --git a/dev-python/pyside/ChangeLog b/dev-python/pyside/ChangeLog
index c7b155f2cde5..fc5f4624d6ec 100644
--- a/dev-python/pyside/ChangeLog
+++ b/dev-python/pyside/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-python/pyside
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pyside/ChangeLog,v 1.52 2013/03/07 18:17:30 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyside/ChangeLog,v 1.53 2013/03/08 08:35:15 pesa Exp $
+
+ 08 Mar 2013; Davide Pesavento <pesa@gentoo.org> -pyside-1.1.2.ebuild:
+ old
07 Mar 2013; Agostino Sarubbo <ago@gentoo.org> pyside-1.1.2-r1.ebuild:
Stable for x86, wrt bug #460234
diff --git a/dev-python/pyside/pyside-1.1.2.ebuild b/dev-python/pyside/pyside-1.1.2.ebuild
deleted file mode 100644
index 579cc73b3006..000000000000
--- a/dev-python/pyside/pyside-1.1.2.ebuild
+++ /dev/null
@@ -1,133 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pyside/pyside-1.1.2.ebuild,v 1.7 2013/03/02 20:57:50 hwoarang Exp $
-
-EAPI=4
-
-PYTHON_DEPEND="2:2.6 3:3.2"
-SUPPORT_PYTHON_ABIS="1"
-RESTRICT_PYTHON_ABIS="2.4 2.5 3.1 3.3 *-jython 2.7-pypy-*"
-
-VIRTUALX_COMMAND="cmake-utils_src_test"
-
-inherit multilib cmake-utils python virtualx
-
-MY_P="${PN}-qt4.8+${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 ~arm x86 ~amd64-linux ~x86-linux"
-IUSE="X declarative help kde multimedia opengl phonon script scripttools sql svg test webkit xmlpatterns"
-
-REQUIRED_USE="
- declarative? ( X )
- help? ( X )
- multimedia? ( X )
- opengl? ( X )
- phonon? ( X )
- scripttools? ( X script )
- sql? ( X )
- svg? ( X )
- test? ( X )
- webkit? ( X )
-"
-
-# Minimal supported version of Qt.
-QT_PV="4.7.0:4"
-
-RDEPEND="
- >=dev-python/shiboken-${PV}
- >=dev-qt/qtcore-${QT_PV}
- X? (
- >=dev-qt/qtgui-${QT_PV}[accessibility]
- >=dev-qt/qttest-${QT_PV}
- )
- declarative? ( >=dev-qt/qtdeclarative-${QT_PV} )
- help? ( >=dev-qt/qthelp-${QT_PV} )
- multimedia? ( >=dev-qt/qtmultimedia-${QT_PV} )
- opengl? ( >=dev-qt/qtopengl-${QT_PV} )
- phonon? (
- kde? ( media-libs/phonon )
- !kde? ( || ( >=dev-qt/qtphonon-${QT_PV} media-libs/phonon ) )
- )
- script? ( >=dev-qt/qtscript-${QT_PV} )
- sql? ( >=dev-qt/qtsql-${QT_PV} )
- svg? ( >=dev-qt/qtsvg-${QT_PV}[accessibility] )
- webkit? ( >=dev-qt/qtwebkit-${QT_PV} )
- xmlpatterns? ( >=dev-qt/qtxmlpatterns-${QT_PV} )
-"
-DEPEND="${RDEPEND}
- >=dev-qt/qtgui-${QT_PV}
-"
-
-S=${WORKDIR}/${MY_P}
-
-DOCS=( ChangeLog )
-
-src_prepare() {
- # Fix generated pkgconfig file to require the shiboken
- # library suffixed with the correct python version.
- sed -i -e '/^Requires:/ s/shiboken$/&@SHIBOKEN_PYTHON_SUFFIX@/' \
- libpyside/pyside.pc.in || die
-
- if use prefix; then
- cp "${FILESDIR}"/rpath.cmake .
- sed \
- -i '1iinclude(rpath.cmake)' \
- CMakeLists.txt || die
- fi
-}
-
-src_configure() {
- configuration() {
- local mycmakeargs=(
- -DPYTHON_SUFFIX="-python${PYTHON_ABI}"
- $(cmake-utils_use_build test TESTS)
- $(cmake-utils_use_disable X QtGui)
- $(cmake-utils_use_disable X QtDesigner)
- $(cmake-utils_use_disable X QtTest)
- $(cmake-utils_use_disable X QtUiTools)
- $(cmake-utils_use_disable declarative QtDeclarative)
- $(cmake-utils_use_disable help QtHelp)
- $(cmake-utils_use_disable multimedia QtMultimedia)
- $(cmake-utils_use_disable opengl QtOpenGL)
- $(cmake-utils_use_disable phonon)
- $(cmake-utils_use_disable script QtScript)
- $(cmake-utils_use_disable scripttools QtScriptTools)
- $(cmake-utils_use_disable sql QtSql)
- $(cmake-utils_use_disable svg QtSvg)
- $(cmake-utils_use_disable webkit QtWebKit)
- $(cmake-utils_use_disable xmlpatterns QtXmlPatterns)
- )
- CMAKE_BUILD_DIR="${S}_${PYTHON_ABI}" cmake-utils_src_configure
- }
- python_execute_function configuration
-}
-
-src_compile() {
- compilation() {
- CMAKE_BUILD_DIR="${S}_${PYTHON_ABI}" cmake-utils_src_make
- }
- python_execute_function compilation
-}
-
-src_test() {
- testing() {
- CMAKE_BUILD_DIR="${S}_${PYTHON_ABI}" virtualmake
- }
- python_enable_pyc
- python_execute_function testing
- python_disable_pyc
-}
-
-src_install() {
- installation() {
- CMAKE_BUILD_DIR="${S}_${PYTHON_ABI}" cmake-utils_src_install
- mv "${ED}"usr/$(get_libdir)/pkgconfig/${PN}{,-python${PYTHON_ABI}}.pc || die
- }
- python_execute_function installation
-}