public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michael Palimaka" <kensington@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/qt:master commit in: dev-python/PyQt4/
Date: Mon,  4 Feb 2013 16:16:43 +0000 (UTC)	[thread overview]
Message-ID: <1359994571.f6be028f4501b004113dea28c5a3b49e9f0d412e.kensington@gentoo> (raw)

commit:     f6be028f4501b004113dea28c5a3b49e9f0d412e
Author:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Mon Feb  4 16:16:11 2013 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Mon Feb  4 16:16:11 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/qt.git;a=commit;h=f6be028f

[dev-python/PyQt4] Use run_in_build_dir. Add python-3.3 support wrt bug #455020.

Package-Manager: portage-2.1.11.50

---
 dev-python/PyQt4/PyQt4-4.10_pre20130203.ebuild |   25 +++++------------------
 1 files changed, 6 insertions(+), 19 deletions(-)

diff --git a/dev-python/PyQt4/PyQt4-4.10_pre20130203.ebuild b/dev-python/PyQt4/PyQt4-4.10_pre20130203.ebuild
index b80a6d6..d9bc0e7 100644
--- a/dev-python/PyQt4/PyQt4-4.10_pre20130203.ebuild
+++ b/dev-python/PyQt4/PyQt4-4.10_pre20130203.ebuild
@@ -1,9 +1,9 @@
 # Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/PyQt4/PyQt4-4.9.6-r2.ebuild,v 1.1 2013/01/29 18:44:19 kensington Exp $
 
 EAPI=5
-PYTHON_COMPAT=( python{2_5,2_6,2_7,3_1,3_2} )
+PYTHON_COMPAT=( python{2_5,2_6,2_7,3_1,3_2,3_3} )
 REVISION=2fedf4fef4f4
 
 inherit eutils qt4-r2 python-r1 toolchain-funcs
@@ -88,15 +88,13 @@ src_prepare() {
 	python_copy_sources
 
 	preparation() {
-		pushd "${BUILD_DIR}" > /dev/null
 		if [[ ${EPYTHON} == python3.* ]]; then
 			rm -fr pyuic/uic/port_v2
 		else
 			rm -fr pyuic/uic/port_v3
 		fi
-		popd > /dev/null
 	}
-	python_foreach_impl preparation
+	python_foreach_impl run_in_build_dir preparation
 }
 
 pyqt4_use_enable() {
@@ -105,7 +103,6 @@ pyqt4_use_enable() {
 
 src_configure() {
 	configuration() {
-		pushd "${BUILD_DIR}" > /dev/null
 		local myconf=(
 			"${PYTHON}" configure.py
 			--confirm-license
@@ -174,32 +171,22 @@ src_configure() {
 			eqmake4 python.pro
 			popd > /dev/null || return
 		fi
-
-		popd > /dev/null
 	}
-	python_foreach_impl configuration
+	python_foreach_impl run_in_build_dir configuration
 }
 
 src_compile() {
-	compilation() {
-		pushd "${BUILD_DIR}" > /dev/null
-		default
-		popd > /dev/null
-	}
-	python_foreach_impl compilation
+	python_foreach_impl run_in_build_dir default
 }
 
 src_install() {
 	installation() {
-		pushd "${BUILD_DIR}" > /dev/null
 		# INSTALL_ROOT is used by designer/Makefile, other Makefiles use DESTDIR.
 		emake DESTDIR="${D}" INSTALL_ROOT="${D}" install
-		popd > /dev/null
-
 		mv "${ED}"/usr/bin/pyuic4{,-${EPYTHON}} || die
 		python_optimize
 	}
-	python_foreach_impl installation
+	python_foreach_impl run_in_build_dir installation
 
 	dosym python-exec /usr/bin/pyuic4
 	dodoc NEWS THANKS


             reply	other threads:[~2013-02-04 16:16 UTC|newest]

Thread overview: 76+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-04 16:16 Michael Palimaka [this message]
  -- strict thread matches above, loose matches on Subject: below --
2013-09-28 18:22 [gentoo-commits] proj/qt:master commit in: dev-python/PyQt4/ Davide Pesavento
2013-09-13 19:37 Jonathan Callen
2013-08-08 10:53 Michael Palimaka
2013-07-08  6:09 Davide Pesavento
2013-06-24  8:38 Davide Pesavento
2013-04-30  4:04 Markos Chandras
2013-04-29  4:03 Markos Chandras
2013-04-28  4:03 Markos Chandras
2013-04-24  4:03 Markos Chandras
2013-04-23  4:03 Markos Chandras
2013-04-20  4:03 Markos Chandras
2013-04-15  4:03 Markos Chandras
2013-04-11  4:02 Markos Chandras
2013-04-09  4:02 Markos Chandras
2013-04-08  4:02 Markos Chandras
2013-03-30  5:02 Markos Chandras
2013-03-28  5:02 Markos Chandras
2013-03-20  5:02 Markos Chandras
2013-03-19  5:02 Markos Chandras
2013-03-18  5:02 Markos Chandras
2013-03-16  5:02 Markos Chandras
2013-03-14  5:02 Markos Chandras
2013-03-13  5:02 Markos Chandras
2013-03-12  9:18 Davide Pesavento
2013-03-12  5:02 Markos Chandras
2013-03-09  5:02 Markos Chandras
2013-03-06  5:02 Markos Chandras
2013-02-15  8:21 Davide Pesavento
2013-02-10  5:02 Markos Chandras
2013-02-07  5:02 Markos Chandras
2013-02-06  5:02 Markos Chandras
2013-02-02  5:02 Markos Chandras
2013-01-26  5:02 Markos Chandras
2013-01-22 14:35 Michael Palimaka
2013-01-16  5:24 Markos Chandras
2013-01-09  5:02 Markos Chandras
2012-12-27  9:35 Davide Pesavento
2012-12-26  6:52 Davide Pesavento
2012-12-22  5:02 Markos Chandras
2012-12-10 11:24 Davide Pesavento
2012-12-07  5:02 Markos Chandras
2012-12-04  5:02 Markos Chandras
2012-11-23  5:02 Markos Chandras
2012-11-21  5:02 Markos Chandras
2012-11-20  5:02 Markos Chandras
2012-11-18  5:02 Markos Chandras
2012-11-17  5:02 Markos Chandras
2012-11-16  5:02 Markos Chandras
2012-11-14  5:02 Markos Chandras
2012-11-13  5:02 Markos Chandras
2012-11-05  5:37 Davide Pesavento
2012-11-05  5:18 Davide Pesavento
2012-10-29  5:07 Markos Chandras
2012-10-09  4:07 Markos Chandras
2012-10-06 10:44 Markos Chandras
2012-10-06  4:05 Markos Chandras
2012-10-01  4:05 Markos Chandras
2012-09-17  4:04 Markos Chandras
2012-09-16  4:04 Markos Chandras
2012-09-12  4:04 Markos Chandras
2012-09-11  4:04 Markos Chandras
2012-09-07  4:04 Markos Chandras
2012-09-05  4:04 Markos Chandras
2012-09-04  4:04 Markos Chandras
2012-08-12  4:01 Markos Chandras
2012-07-14  5:58 Markos Chandras
2012-07-11  5:57 Markos Chandras
2012-06-27 10:40 Davide Pesavento
2012-06-01 23:06 Markos Chandras
2012-05-22 21:18 Markos Chandras
2012-05-03  7:24 Johannes Huber
2012-04-21 17:28 Michael Palimaka
2012-04-01  8:30 Markos Chandras
2012-03-03 14:36 Davide Pesavento
2012-02-20 18:46 Davide Pesavento

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=1359994571.f6be028f4501b004113dea28c5a3b49e9f0d412e.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