commit: b264e59d8b9c791f51dc232d550e9b964c60c28b
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 24 13:21:39 2016 +0000
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Sun Jan 24 13:21:39 2016 +0000
URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=b264e59d
dev-lang/python: get python extension from buildsys since it depends on Darwin
version
Package-Manager: portage-2.2.20-prefix
dev-lang/python/python-2.7.11.ebuild | 2 +-
dev-lang/python/python-3.4.3-r5.ebuild | 2 +-
dev-lang/python/python-3.5.1.ebuild | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dev-lang/python/python-2.7.11.ebuild
b/dev-lang/python/python-2.7.11.ebuild
index 59f4072..9a7479e 100644
--- a/dev-lang/python/python-2.7.11.ebuild
+++ b/dev-lang/python/python-2.7.11.ebuild
@@ -548,7 +548,7 @@ EOF
# if not using a cross-compiler, use the fresh binary
if ! tc-is-cross-compiler; then
- local -x PYTHON=./python$([[ ${CHOST} == *-darwin* ]] && echo
".exe")
+ local -x PYTHON=./python$(sed -n '/BUILDEXE=/s/^.*=\s\+//p'
Makefile)
local -x LD_LIBRARY_PATH=${LD_LIBRARY_PATH+${LD_LIBRARY_PATH}:}.
local -x
DYLD_LIBRARY_PATH=${DYLD_LIBRARY_PATH+${DYLD_LIBRARY_PATH}:}.
else
diff --git a/dev-lang/python/python-3.4.3-r5.ebuild
b/dev-lang/python/python-3.4.3-r5.ebuild
index 925d78f..fa38ed3 100644
--- a/dev-lang/python/python-3.4.3-r5.ebuild
+++ b/dev-lang/python/python-3.4.3-r5.ebuild
@@ -343,7 +343,7 @@ src_install() {
# if not using a cross-compiler, use the fresh binary
if ! tc-is-cross-compiler; then
- local -x PYTHON=./python$([[ ${CHOST} == *-darwin* ]] && echo
".exe")
+ local -x PYTHON=./python$(sed -n '/BUILDEXE=/s/^.*=\s\+//p'
Makefile)
local -x LD_LIBRARY_PATH=${LD_LIBRARY_PATH+${LD_LIBRARY_PATH}:}.
local -x
DYLD_LIBRARY_PATH=${DYLD_LIBRARY_PATH+${DYLD_LIBRARY_PATH}:}.
else
diff --git a/dev-lang/python/python-3.5.1.ebuild
b/dev-lang/python/python-3.5.1.ebuild
index 31eae0e..43aed5a 100644
--- a/dev-lang/python/python-3.5.1.ebuild
+++ b/dev-lang/python/python-3.5.1.ebuild
@@ -352,7 +352,7 @@ src_install() {
# if not using a cross-compiler, use the fresh binary
if ! tc-is-cross-compiler; then
- local -x PYTHON=./python$([[ ${CHOST} == *-darwin* ]] && echo
".exe")
+ local -x PYTHON=./python$(sed -n '/BUILDEXE=/s/^.*=\s\+//p'
Makefile)
local -x LD_LIBRARY_PATH=${LD_LIBRARY_PATH+${LD_LIBRARY_PATH}:}.
local -x
DYLD_LIBRARY_PATH=${DYLD_LIBRARY_PATH+${DYLD_LIBRARY_PATH}:}.
else