Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Thu, 05 Mar 2020 07:57:58
Message-Id: 1583395062.9d22cb90157dbba2310a7bae496eeee21c09e3c7.mgorny@gentoo
1 commit: 9d22cb90157dbba2310a7bae496eeee21c09e3c7
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Mar 4 13:22:13 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Mar 5 07:57:42 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d22cb90
7
8 python-utils-r1.eclass: Remove leftover from virtual/pypy*
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 eclass/python-utils-r1.eclass | 20 +++-----------------
13 1 file changed, 3 insertions(+), 17 deletions(-)
14
15 diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass
16 index 2791fae4211..325964e0e0e 100644
17 --- a/eclass/python-utils-r1.eclass
18 +++ b/eclass/python-utils-r1.eclass
19 @@ -1085,23 +1085,9 @@ python_is_installed() {
20 ;;
21 esac
22
23 - case "${impl}" in
24 - pypy|pypy3)
25 - local append=
26 - if [[ ${PYTHON_REQ_USE} ]]; then
27 - append=[${PYTHON_REQ_USE}]
28 - fi
29 -
30 - # be happy with just the interpeter, no need for the virtual
31 - has_version "${hasv_args[@]}" "dev-python/${impl}${append}" \
32 - || has_version "${hasv_args[@]}" "dev-python/${impl}-bin${append}"
33 - ;;
34 - *)
35 - local PYTHON_PKG_DEP
36 - python_export "${impl}" PYTHON_PKG_DEP
37 - has_version "${hasv_args[@]}" "${PYTHON_PKG_DEP}"
38 - ;;
39 - esac
40 + local PYTHON_PKG_DEP
41 + python_export "${impl}" PYTHON_PKG_DEP
42 + has_version "${hasv_args[@]}" "${PYTHON_PKG_DEP}"
43 }
44
45 # @FUNCTION: python_fix_shebang