[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gentoo-commits
Subject:    [gentoo-commits] repo/gentoo:master commit in: eclass/
From:       "Micha? Górny" <mgorny () gentoo ! org>
Date:       2017-04-30 19:22:07
Message-ID: 1493580125.b7648fc3e5dff19eff932645c26d45f195521b13.mgorny () gentoo
[Download RAW message or body]

commit:     b7648fc3e5dff19eff932645c26d45f195521b13
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 30 16:28:11 2017 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Apr 30 19:22:05 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7648fc3

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.

 eclass/python-utils-r1.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass
index 49a605b9e15..66a359e8dae 100644
--- a/eclass/python-utils-r1.eclass
+++ b/eclass/python-utils-r1.eclass
@@ -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}"


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic