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 5/9] python-any-r1.eclass: Report impl used by python_setup
Date: Wed, 04 Mar 2020 14:34:35
Message-Id: 20200304143223.55830-6-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-any-r1.eclass | 4 ++++
4 1 file changed, 4 insertions(+)
5
6 diff --git a/eclass/python-any-r1.eclass b/eclass/python-any-r1.eclass
7 index 5d74c8acd3e4..66c6965c04ea 100644
8 --- a/eclass/python-any-r1.eclass
9 +++ b/eclass/python-any-r1.eclass
10 @@ -301,6 +301,7 @@ python_setup() {
11
12 python_export "${impls[0]}" EPYTHON PYTHON
13 python_wrapper_setup
14 + einfo "Using ${EPYTHON} to build"
15 return
16 fi
17
18 @@ -309,6 +310,7 @@ python_setup() {
19 if _python_EPYTHON_supported "${EPYTHON}"; then
20 python_export EPYTHON PYTHON
21 python_wrapper_setup
22 + einfo "Using ${EPYTHON} to build"
23 return
24 fi
25 fi
26 @@ -324,6 +326,7 @@ python_setup() {
27 elif _python_EPYTHON_supported "${i}"; then
28 python_export "${i}" EPYTHON PYTHON
29 python_wrapper_setup
30 + einfo "Using ${EPYTHON} to build"
31 return
32 fi
33 done
34 @@ -334,6 +337,7 @@ python_setup() {
35 python_export "${_PYTHON_SUPPORTED_IMPLS[i]}" EPYTHON PYTHON
36 if _python_EPYTHON_supported "${EPYTHON}"; then
37 python_wrapper_setup
38 + einfo "Using ${EPYTHON} to build"
39 return
40 fi
41 done
42 --
43 2.25.1