1 |
--- |
2 |
gx86/dev-lang/python/python-2.7.3-r3.ebuild | 7 ++++++- |
3 |
1 file changed, 6 insertions(+), 1 deletion(-) |
4 |
|
5 |
diff --git a/gx86/dev-lang/python/python-2.7.3-r3.ebuild b/gx86/dev-lang/python/python-2.7.3-r3.ebuild |
6 |
index 618f7ef..8af21e3 100644 |
7 |
--- a/gx86/dev-lang/python/python-2.7.3-r3.ebuild |
8 |
+++ b/gx86/dev-lang/python/python-2.7.3-r3.ebuild |
9 |
@@ -6,7 +6,7 @@ EAPI="2" |
10 |
WANT_AUTOMAKE="none" |
11 |
WANT_LIBTOOL="none" |
12 |
|
13 |
-inherit autotools eutils flag-o-matic multilib pax-utils toolchain-funcs |
14 |
+inherit autotools eutils flag-o-matic multilib pax-utils python-utils-r1 toolchain-funcs |
15 |
|
16 |
MY_P="Python-${PV}" |
17 |
PATCHSET_REVISION="1" |
18 |
@@ -282,6 +282,11 @@ src_install() { |
19 |
-e "s:@PYDOC_PORT_VARIABLE@:PYDOC${SLOT/./_}_PORT:" \ |
20 |
-e "s:@PYDOC@:pydoc${SLOT}:" \ |
21 |
-i "${ED}etc/conf.d/pydoc-${SLOT}" "${ED}etc/init.d/pydoc-${SLOT}" || die "sed failed" |
22 |
+ |
23 |
+ # for python-exec |
24 |
+ python_export python${SLOT} EPYTHON PYTHON PYTHON_SITEDIR |
25 |
+ echo "EPYTHON='${EPYTHON}'" > epython.py |
26 |
+ python_domodule epython.py |
27 |
} |
28 |
|
29 |
pkg_preinst() { |
30 |
-- |
31 |
1.8.0 |