1 |
commit: 907ea4521c9b1c382eaeec1b2c4be1d1922b18f5 |
2 |
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Feb 18 17:28:28 2016 +0000 |
4 |
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Feb 18 17:28:28 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=907ea452 |
7 |
|
8 |
dev-lang/python: fix 3.3 install, by Jacob Godserv in bug #574926 |
9 |
|
10 |
Package-Manager: portage-2.2.20-prefix |
11 |
|
12 |
dev-lang/python/python-3.3.3.ebuild | 7 +++++-- |
13 |
1 file changed, 5 insertions(+), 2 deletions(-) |
14 |
|
15 |
diff --git a/dev-lang/python/python-3.3.3.ebuild b/dev-lang/python/python-3.3.3.ebuild |
16 |
index 16122b7..8f989d8 100644 |
17 |
--- a/dev-lang/python/python-3.3.3.ebuild |
18 |
+++ b/dev-lang/python/python-3.3.3.ebuild |
19 |
@@ -360,14 +360,17 @@ src_install() { |
20 |
-i "${ED}etc/conf.d/pydoc-${SLOT}" "${ED}etc/init.d/pydoc-${SLOT}" || die "sed failed" |
21 |
|
22 |
# for python-exec |
23 |
- python_export python${SLOT} EPYTHON PYTHON PYTHON_SITEDIR |
24 |
+ local vars=( EPYTHON PYTHON_SITEDIR PYTHON_SCRIPTDIR ) |
25 |
|
26 |
# if not using a cross-compiler, use the fresh binary |
27 |
if ! tc-is-cross-compiler; then |
28 |
- local PYTHON=./python |
29 |
+ local -x PYTHON=./python |
30 |
local -x LD_LIBRARY_PATH=${LD_LIBRARY_PATH+${LD_LIBRARY_PATH}:}. |
31 |
+ else |
32 |
+ vars=( PYTHON "${vars[@]}" ) |
33 |
fi |
34 |
|
35 |
+ python_export "python${SLOT}" "${vars[@]}" |
36 |
echo "EPYTHON='${EPYTHON}'" > epython.py |
37 |
python_domodule epython.py |
38 |
} |