From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id F3637138858 for ; Mon, 4 Feb 2013 16:16:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C55A4E02CB; Mon, 4 Feb 2013 16:16:47 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5E68DE02CB for ; Mon, 4 Feb 2013 16:16:47 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6FC9833DDFA for ; Mon, 4 Feb 2013 16:16:46 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id C82E8E4073 for ; Mon, 4 Feb 2013 16:16:43 +0000 (UTC) From: "Michael Palimaka" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michael Palimaka" Message-ID: <1359994571.f6be028f4501b004113dea28c5a3b49e9f0d412e.kensington@gentoo> Subject: [gentoo-commits] proj/qt:master commit in: dev-python/PyQt4/ X-VCS-Repository: proj/qt X-VCS-Files: dev-python/PyQt4/PyQt4-4.10_pre20130203.ebuild X-VCS-Directories: dev-python/PyQt4/ X-VCS-Committer: kensington X-VCS-Committer-Name: Michael Palimaka X-VCS-Revision: f6be028f4501b004113dea28c5a3b49e9f0d412e X-VCS-Branch: master Date: Mon, 4 Feb 2013 16:16:43 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: b9a67e7b-5531-4b11-93b1-608addcf166a X-Archives-Hash: ffcd69ad813f8e07818988929a911935 commit: f6be028f4501b004113dea28c5a3b49e9f0d412e Author: Michael Palimaka gentoo org> AuthorDate: Mon Feb 4 16:16:11 2013 +0000 Commit: Michael Palimaka gentoo 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