diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-03-04 14:22:13 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-03-05 08:57:42 +0100 |
commit | 9d22cb90157dbba2310a7bae496eeee21c09e3c7 (patch) | |
tree | 8c9937055235bfa2c3b272b6faf41524e0cb07d9 /eclass/python-utils-r1.eclass | |
parent | python-single-r1.eclass: Report impl used by python_setup (diff) | |
download | gentoo-9d22cb90157dbba2310a7bae496eeee21c09e3c7.tar.gz gentoo-9d22cb90157dbba2310a7bae496eeee21c09e3c7.tar.bz2 gentoo-9d22cb90157dbba2310a7bae496eeee21c09e3c7.zip |
python-utils-r1.eclass: Remove leftover from virtual/pypy*
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'eclass/python-utils-r1.eclass')
-rw-r--r-- | eclass/python-utils-r1.eclass | 20 |
1 files changed, 3 insertions, 17 deletions
diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass index 2791fae42112..325964e0e0e8 100644 --- a/eclass/python-utils-r1.eclass +++ b/eclass/python-utils-r1.eclass @@ -1085,23 +1085,9 @@ python_is_installed() { ;; esac - case "${impl}" in - pypy|pypy3) - local append= - if [[ ${PYTHON_REQ_USE} ]]; then - append=[${PYTHON_REQ_USE}] - fi - - # be happy with just the interpeter, no need for the virtual - has_version "${hasv_args[@]}" "dev-python/${impl}${append}" \ - || has_version "${hasv_args[@]}" "dev-python/${impl}-bin${append}" - ;; - *) - local PYTHON_PKG_DEP - python_export "${impl}" PYTHON_PKG_DEP - has_version "${hasv_args[@]}" "${PYTHON_PKG_DEP}" - ;; - esac + local PYTHON_PKG_DEP + python_export "${impl}" PYTHON_PKG_DEP + has_version "${hasv_args[@]}" "${PYTHON_PKG_DEP}" } # @FUNCTION: python_fix_shebang |