Gentoo Archives: gentoo-python

From: "Michał Górny" <mgorny@g.o>
To: gentoo-python@l.g.o
Cc: python@g.o, "Michał Górny" <mgorny@g.o>
Subject: [gentoo-python] [PATCH 2/4] Perform wrapper setup in all codepaths.
Date: Mon, 22 Apr 2013 10:51:45
Message-Id: 1366627978-8571-2-git-send-email-mgorny@gentoo.org
In Reply to: [gentoo-python] python-any-r1: bunch of bugfixes/improvements and dep-checking function by "Michał Górny"
1 Currently, the wrapper was set up only in the fallback line. Instead,
2 set it up consistently in all cases.
3 ---
4 gx86/eclass/python-any-r1.eclass | 2 ++
5 1 file changed, 2 insertions(+)
6
7 diff --git a/gx86/eclass/python-any-r1.eclass b/gx86/eclass/python-any-r1.eclass
8 index 3799491..2ecbfbd 100644
9 --- a/gx86/eclass/python-any-r1.eclass
10 +++ b/gx86/eclass/python-any-r1.eclass
11 @@ -180,6 +180,7 @@ python-any-r1_pkg_setup() {
12 if [[ ${EPYTHON} ]]; then
13 if _python_EPYTHON_supported "${EPYTHON}"; then
14 python_export EPYTHON PYTHON
15 + python_wrapper_setup "${T}"
16 return
17 fi
18 fi
19 @@ -194,6 +195,7 @@ python-any-r1_pkg_setup() {
20 break
21 elif _python_EPYTHON_supported "${i}"; then
22 python_export "${i}" EPYTHON PYTHON
23 + python_wrapper_setup "${T}"
24 return
25 fi
26 done
27 --
28 1.8.1.5