diff options
-rw-r--r-- | dev-python/pypy-exe/pypy-exe-7.3.0.ebuild | 24 |
1 files changed, 11 insertions, 13 deletions
diff --git a/dev-python/pypy-exe/pypy-exe-7.3.0.ebuild b/dev-python/pypy-exe/pypy-exe-7.3.0.ebuild index 0b1e0997bb91..720c1dc86a96 100644 --- a/dev-python/pypy-exe/pypy-exe-7.3.0.ebuild +++ b/dev-python/pypy-exe/pypy-exe-7.3.0.ebuild @@ -70,20 +70,18 @@ pkg_setup() { if [[ ${MERGE_TYPE} != binary ]]; then check_env - if has_version -b dev-python/pypy || - has_version -b dev-python/pypy-bin + use low-memory && local EPYTHON= + if [[ ! ${EPYTHON} || ${EPYTHON} == pypy ]] && + { has_version -b dev-python/pypy || + has_version -b dev-python/pypy-bin; } then - if [[ ! ${EPYTHON} || ${EPYTHON} == pypy ]] || - use low-memory - then - einfo "Using already-installed PyPy to perform the translation." - EPYTHON=pypy - else - einfo "Using ${EPYTHON} to perform the translation. Please note that upstream" - einfo "recommends using PyPy for that. If you wish to do so, please unset" - einfo "the EPYTHON variable." - python-any-r1_pkg_setup - fi + einfo "Using already-installed PyPy to perform the translation." + EPYTHON=pypy + else + einfo "Using ${EPYTHON} to perform the translation. Please note that upstream" + einfo "recommends using PyPy for that. If you wish to do so, please unset" + einfo "the EPYTHON variable." + python-any-r1_pkg_setup fi fi } |