summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2016-02-06 22:23:06 +0100
committerMichał Górny <mgorny@gentoo.org>2016-02-06 22:27:31 +0100
commitab6a4a2f5347e69108ade31c06f750263d83c8b6 (patch)
tree9118de7b6b7f60dd02c70ca3854fe4b77b5a0172 /eclass
parentdev-db/sqldeveloper: Use jtds:1.3, auto select 1.8 JVM, other fixes (diff)
downloadgentoo-ab6a4a2f5347e69108ade31c06f750263d83c8b6.tar.gz
gentoo-ab6a4a2f5347e69108ade31c06f750263d83c8b6.tar.bz2
gentoo-ab6a4a2f5347e69108ade31c06f750263d83c8b6.zip
python-utils-r1.eclass: Do not prefer Jython & PyPy over CPython
Fix _PYTHON_ALL_IMPLS to list Jython & PyPy before CPython versions, therefore causing them not to be implicitly preferred over CPython. The implementation reordering done in b284e54 ("reorder implementations in semi-ascending order") has caused PyPy & Jython to be listed after CPython. While seemingly it was more intuitive to list third-party implementations after the reference one, it also implicitly caused them to be preferred by python-exec.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/python-utils-r1.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass
index 89a7cbf2a18b..9488966a9941 100644
--- a/eclass/python-utils-r1.eclass
+++ b/eclass/python-utils-r1.eclass
@@ -41,10 +41,10 @@ inherit toolchain-funcs
# @DESCRIPTION:
# All supported Python implementations, most preferred last.
_PYTHON_ALL_IMPLS=(
+ jython2_7
+ pypy pypy3
python2_7
python3_3 python3_4 python3_5
- pypy pypy3
- jython2_7
)
readonly _PYTHON_ALL_IMPLS