From: "Michael Palimaka" <kensington@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/qt:master commit in: dev-python/pyside/
Date: Mon,  4 Feb 2013 16:53:44 +0000 (UTC)	[thread overview]
Message-ID: <1359996671.c06e1c85293f6b78ed97a6898743408fe0ec2ee4.kensington@gentoo> (raw)
commit:     c06e1c85293f6b78ed97a6898743408fe0ec2ee4
Author:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Mon Feb  4 16:51:11 2013 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Mon Feb  4 16:51:11 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/qt.git;a=commit;h=c06e1c85
[dev-python/pyside] Sync with portage.
Package-Manager: portage-2.1.11.50
---
 dev-python/pyside/pyside-9999.ebuild |   84 ++++++++++++++++++----------------
 1 files changed, 44 insertions(+), 40 deletions(-)
diff --git a/dev-python/pyside/pyside-9999.ebuild b/dev-python/pyside/pyside-9999.ebuild
index 927b4e9..ce0d38f 100644
--- a/dev-python/pyside/pyside-9999.ebuild
+++ b/dev-python/pyside/pyside-9999.ebuild
@@ -2,15 +2,13 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
-EAPI=4
+EAPI=5
 
-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-*"
+PYTHON_COMPAT=( python{2_6,2_7,3_2} )
 
-VIRTUALX_COMMAND="cmake-utils_src_test"
+inherit multilib cmake-utils python-r1 virtualx git-2
 
-inherit multilib cmake-utils python virtualx git-2
+MY_P="${PN}-qt4.8+${PV}"
 
 DESCRIPTION="Python bindings for the Qt framework"
 HOMEPAGE="http://www.pyside.org/"
@@ -38,7 +36,7 @@ REQUIRED_USE="
 QT_PV="4.7.0:4"
 
 RDEPEND="
-	>=dev-python/shiboken-${PV}
+	>=dev-python/shiboken-${PV}[${PYTHON_USEDEP}]
 	>=x11-libs/qt-core-${QT_PV}
 	X? (
 		>=x11-libs/qt-gui-${QT_PV}[accessibility]
@@ -58,7 +56,13 @@ RDEPEND="
 	webkit? ( >=x11-libs/qt-webkit-${QT_PV} )
 	xmlpatterns? ( >=x11-libs/qt-xmlpatterns-${QT_PV} )
 "
-DEPEND="${RDEPEND}"
+DEPEND="${RDEPEND}
+	>=x11-libs/qt-gui-${QT_PV}
+"
+
+S=${WORKDIR}/${MY_P}
+
+DOCS=( ChangeLog )
 
 src_prepare() {
 	# Fix generated pkgconfig file to require the shiboken
@@ -75,51 +79,51 @@ src_prepare() {
 }
 
 src_configure() {
+	local mycmakeargs=(
+		$(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)
+	)
+
 	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)
+			-DPYTHON_SUFFIX="-${EPYTHON}"
+			"${mycmakeargs[@]}"
 		)
-		CMAKE_BUILD_DIR="${S}_${PYTHON_ABI}" cmake-utils_src_configure
+		cmake-utils_src_configure
 	}
-	python_execute_function configuration
+	python_foreach_impl configuration
 }
 
 src_compile() {
-	compilation() {
-		CMAKE_BUILD_DIR="${S}_${PYTHON_ABI}" cmake-utils_src_make
-	}
-	python_execute_function compilation
+	python_foreach_impl cmake-utils_src_make
 }
 
 src_test() {
-	testing() {
-		CMAKE_BUILD_DIR="${S}_${PYTHON_ABI}" virtualmake
-	}
-	python_enable_pyc
-	python_execute_function testing
-	python_disable_pyc
+	local PYTHONDONTWRITEBYTECODE
+	export PYTHONDONTWRITEBYTECODE
+
+	local VIRTUALX_COMMAND="cmake-utils_src_test"
+	python_foreach_impl virtualmake
 }
 
 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
+		cmake-utils_src_install
+		mv "${ED}"usr/$(get_libdir)/pkgconfig/${PN}{,-${EPYTHON}}.pc || die
 	}
-	python_execute_function installation
+	python_foreach_impl installation
 }
next             reply	other threads:[~2013-02-04 16:53 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-04 16:53 Michael Palimaka [this message]
  -- strict thread matches above, loose matches on Subject: below --
2019-10-13 21:56 [gentoo-commits] proj/qt:master commit in: dev-python/pyside/ Andreas Sturmlechner
2017-12-30 18:41 Davide Pesavento
2017-09-03  0:35 Davide Pesavento
2017-05-07 20:11 Davide Pesavento
2017-05-07 18:59 Davide Pesavento
2017-05-07 18:59 Davide Pesavento
2017-05-07 18:34 Davide Pesavento
2017-05-07 18:34 Davide Pesavento
2017-05-07 17:23 Davide Pesavento
2017-04-30 20:30 Davide Pesavento
2017-04-30 20:10 Davide Pesavento
2016-10-28 17:15 Michael Palimaka
2014-09-21 12:51 Davide Pesavento
2014-06-10  8:01 Michael Palimaka
2012-12-26  6:52 Davide Pesavento
2012-10-17  6:34 Michael Palimaka
2012-02-15 17:29 Johannes Huber
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox
  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):
  git send-email \
    --in-reply-to=1359996671.c06e1c85293f6b78ed97a6898743408fe0ec2ee4.kensington@gentoo \
    --to=kensington@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY
  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
  Be sure your reply has a Subject: header at the top and a blank line
  before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox