Gentoo Archives: gentoo-commits

From: Fabian Groffen <grobian@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/prefix:master commit in: dev-lang/python/
Date: Wed, 16 Dec 2015 07:44:18
Message-Id: 1450251802.27ac8491054847a6da19a7cb00e4abf4ca02a110.grobian@gentoo
1 commit: 27ac8491054847a6da19a7cb00e4abf4ca02a110
2 Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
3 AuthorDate: Wed Dec 16 07:43:22 2015 +0000
4 Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
5 CommitDate: Wed Dec 16 07:43:22 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=27ac8491
7
8 dev-lang/python: fix install on Darwin for 3.4 and 3.5
9
10 Package-Manager: portage-2.2.20-prefix
11
12 dev-lang/python/python-3.4.3-r5.ebuild | 2 +-
13 dev-lang/python/python-3.5.1.ebuild | 2 +-
14 2 files changed, 2 insertions(+), 2 deletions(-)
15
16 diff --git a/dev-lang/python/python-3.4.3-r5.ebuild b/dev-lang/python/python-3.4.3-r5.ebuild
17 index f86d0ab..4fdcfed 100644
18 --- a/dev-lang/python/python-3.4.3-r5.ebuild
19 +++ b/dev-lang/python/python-3.4.3-r5.ebuild
20 @@ -342,7 +342,7 @@ src_install() {
21
22 # if not using a cross-compiler, use the fresh binary
23 if ! tc-is-cross-compiler; then
24 - local -x PYTHON=./python
25 + local -x PYTHON=./python$([[ ${CHOST} == *-darwin* ]] && echo ".exe")
26 local -x LD_LIBRARY_PATH=${LD_LIBRARY_PATH+${LD_LIBRARY_PATH}:}.
27 else
28 vars=( PYTHON "${vars[@]}" )
29
30 diff --git a/dev-lang/python/python-3.5.1.ebuild b/dev-lang/python/python-3.5.1.ebuild
31 index 471af4c..ff79159 100644
32 --- a/dev-lang/python/python-3.5.1.ebuild
33 +++ b/dev-lang/python/python-3.5.1.ebuild
34 @@ -345,7 +345,7 @@ src_install() {
35
36 # if not using a cross-compiler, use the fresh binary
37 if ! tc-is-cross-compiler; then
38 - local -x PYTHON=./python
39 + local -x PYTHON=./python$([[ ${CHOST} == *-darwin* ]] && echo ".exe")
40 local -x LD_LIBRARY_PATH=${LD_LIBRARY_PATH+${LD_LIBRARY_PATH}:}.
41 else
42 vars=( PYTHON "${vars[@]}" )