1 |
I must have missed it when converting the other two eclasses. |
2 |
--- |
3 |
gx86/eclass/python-any-r1.eclass | 24 ++++++------------------ |
4 |
1 file changed, 6 insertions(+), 18 deletions(-) |
5 |
|
6 |
diff --git a/gx86/eclass/python-any-r1.eclass b/gx86/eclass/python-any-r1.eclass |
7 |
index 087efb2..aa11cf7 100644 |
8 |
--- a/gx86/eclass/python-any-r1.eclass |
9 |
+++ b/gx86/eclass/python-any-r1.eclass |
10 |
@@ -118,27 +118,15 @@ _python_build_set_globals() { |
11 |
[[ ${PYTHON_REQ_USE} ]] && usestr="[${PYTHON_REQ_USE}]" |
12 |
|
13 |
PYTHON_DEPS= |
14 |
- local i |
15 |
+ local i PYTHON_PKG_DEP |
16 |
for i in "${_PYTHON_ALL_IMPLS[@]}"; do |
17 |
- if has "${i}" "${PYTHON_COMPAT[@]}" |
18 |
- then |
19 |
- local d |
20 |
- case ${i} in |
21 |
- python*) |
22 |
- d='dev-lang/python';; |
23 |
- jython*) |
24 |
- d='dev-java/jython';; |
25 |
- pypy*) |
26 |
- d='dev-python/pypy';; |
27 |
- *) |
28 |
- die "Invalid implementation: ${i}" |
29 |
- esac |
30 |
+ has "${i}" "${PYTHON_COMPAT[@]}" || continue |
31 |
|
32 |
- local v=${i##*[a-z]} |
33 |
- PYTHON_DEPS="${d}:${v/_/.}${usestr} ${PYTHON_DEPS}" |
34 |
- fi |
35 |
+ python_export "${i}" PYTHON_PKG_DEP |
36 |
+ |
37 |
+ PYTHON_DEPS="${PYTHON_PKG_DEP} ${PYTHON_DEPS}" |
38 |
done |
39 |
- PYTHON_DEPS="|| ( ${PYTHON_DEPS})" |
40 |
+ PYTHON_DEPS="|| ( ${PYTHON_DEPS} )" |
41 |
} |
42 |
_python_build_set_globals |
43 |
|
44 |
-- |
45 |
1.8.3.2 |