python-utils-r1.eclass: Remove leftover from virtual/pypy*
authorMichał Górny <mgorny@gentoo.org>
Wed, 4 Mar 2020 13:22:13 +0000 (14:22 +0100)
committerMichał Górny <mgorny@gentoo.org>
Thu, 5 Mar 2020 07:57:42 +0000 (08:57 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
eclass/python-utils-r1.eclass

index 2791fae421129b68cde90458514c65546df947b4..325964e0e0e8cf127885d254a45fa1a727c1787f 100644 (file)
@@ -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