Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: python@g.o, "Michał Górny" <mgorny@g.o>
Subject: [gentoo-dev] [PATCH 7/9] python-utils-r1.eclass: Remove leftover from virtual/pypy*
Date: Wed, 04 Mar 2020 14:35:18
Message-Id: 20200304143223.55830-8-mgorny@gentoo.org
In Reply to: [gentoo-dev] [PATCH 0/9] python-r1 suite cleanup by "Michał Górny"
1 Signed-off-by: Michał Górny <mgorny@g.o>
2 ---
3 eclass/python-utils-r1.eclass | 20 +++-----------------
4 1 file changed, 3 insertions(+), 17 deletions(-)
5
6 diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass
7 index 2791fae42112..325964e0e0e8 100644
8 --- a/eclass/python-utils-r1.eclass
9 +++ b/eclass/python-utils-r1.eclass
10 @@ -1085,23 +1085,9 @@ python_is_installed() {
11 ;;
12 esac
13
14 - case "${impl}" in
15 - pypy|pypy3)
16 - local append=
17 - if [[ ${PYTHON_REQ_USE} ]]; then
18 - append=[${PYTHON_REQ_USE}]
19 - fi
20 -
21 - # be happy with just the interpeter, no need for the virtual
22 - has_version "${hasv_args[@]}" "dev-python/${impl}${append}" \
23 - || has_version "${hasv_args[@]}" "dev-python/${impl}-bin${append}"
24 - ;;
25 - *)
26 - local PYTHON_PKG_DEP
27 - python_export "${impl}" PYTHON_PKG_DEP
28 - has_version "${hasv_args[@]}" "${PYTHON_PKG_DEP}"
29 - ;;
30 - esac
31 + local PYTHON_PKG_DEP
32 + python_export "${impl}" PYTHON_PKG_DEP
33 + has_version "${hasv_args[@]}" "${PYTHON_PKG_DEP}"
34 }
35
36 # @FUNCTION: python_fix_shebang
37 --
38 2.25.1