commit:     9d22cb90157dbba2310a7bae496eeee21c09e3c7
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Mar  4 13:22:13 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Mar  5 07:57:42 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d22cb90

python-utils-r1.eclass: Remove leftover from virtual/pypy*

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 eclass/python-utils-r1.eclass | 20 +++-----------------
 1 file changed, 3 insertions(+), 17 deletions(-)

diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass
index 2791fae4211..325964e0e0e 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

Reply via email to