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 D22FE1388BF for ; Thu, 18 Feb 2016 17:28:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 069E621C01C; Thu, 18 Feb 2016 17:28:48 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9F03621C01C for ; Thu, 18 Feb 2016 17:28:47 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 60E39340967 for ; Thu, 18 Feb 2016 17:28:46 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 79A148F5 for ; Thu, 18 Feb 2016 17:28:38 +0000 (UTC) From: "Fabian Groffen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Fabian Groffen" Message-ID: <1455816508.907ea4521c9b1c382eaeec1b2c4be1d1922b18f5.grobian@gentoo> Subject: [gentoo-commits] repo/proj/prefix:master commit in: dev-lang/python/ X-VCS-Repository: repo/proj/prefix X-VCS-Files: dev-lang/python/python-3.3.3.ebuild X-VCS-Directories: dev-lang/python/ X-VCS-Committer: grobian X-VCS-Committer-Name: Fabian Groffen X-VCS-Revision: 907ea4521c9b1c382eaeec1b2c4be1d1922b18f5 X-VCS-Branch: master Date: Thu, 18 Feb 2016 17:28:38 +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: ad375575-d91b-4728-be11-fd3ff4197fc5 X-Archives-Hash: 9f6fe490e5402118d29a0e802157ee94 commit: 907ea4521c9b1c382eaeec1b2c4be1d1922b18f5 Author: Fabian Groffen gentoo org> AuthorDate: Thu Feb 18 17:28:28 2016 +0000 Commit: Fabian Groffen gentoo org> CommitDate: Thu Feb 18 17:28:28 2016 +0000 URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=907ea452 dev-lang/python: fix 3.3 install, by Jacob Godserv in bug #574926 Package-Manager: portage-2.2.20-prefix dev-lang/python/python-3.3.3.ebuild | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/dev-lang/python/python-3.3.3.ebuild b/dev-lang/python/python-3.3.3.ebuild index 16122b7..8f989d8 100644 --- a/dev-lang/python/python-3.3.3.ebuild +++ b/dev-lang/python/python-3.3.3.ebuild @@ -360,14 +360,17 @@ src_install() { -i "${ED}etc/conf.d/pydoc-${SLOT}" "${ED}etc/init.d/pydoc-${SLOT}" || die "sed failed" # for python-exec - python_export python${SLOT} EPYTHON PYTHON PYTHON_SITEDIR + local vars=( EPYTHON PYTHON_SITEDIR PYTHON_SCRIPTDIR ) # if not using a cross-compiler, use the fresh binary if ! tc-is-cross-compiler; then - local PYTHON=./python + local -x PYTHON=./python local -x LD_LIBRARY_PATH=${LD_LIBRARY_PATH+${LD_LIBRARY_PATH}:}. + else + vars=( PYTHON "${vars[@]}" ) fi + python_export "python${SLOT}" "${vars[@]}" echo "EPYTHON='${EPYTHON}'" > epython.py python_domodule epython.py }