mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-10 06:57:08 -08:00
python-utils-r1.eclass: python_optimize, enable py3.5 logic for pypy3
Enable the three-level optimization logic for pypy3, to account for pypy3-5.7 being based on CPython 3.5 and using all three suffixes.
This commit is contained in:
@@ -660,7 +660,7 @@ python_optimize() {
|
||||
"${PYTHON}" -m compileall -q -f -d "${instpath}" "${d}"
|
||||
"${PYTHON}" -OO -m compileall -q -f -d "${instpath}" "${d}"
|
||||
;;
|
||||
python*)
|
||||
python*|pypy3)
|
||||
# both levels of optimization are separate since 3.5
|
||||
"${PYTHON}" -m compileall -q -f -d "${instpath}" "${d}"
|
||||
"${PYTHON}" -O -m compileall -q -f -d "${instpath}" "${d}"
|
||||
|
||||
Reference in New Issue
Block a user