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 23/25] python-any-r2.eclass: Verbosely report used implementation
Date: Sat, 29 Feb 2020 20:49:40
Message-Id: 20200229204201.99290-24-mgorny@gentoo.org
In Reply to: [gentoo-dev] [PATCH 00/25] python-r2 eclass suite by "Michał Górny"
1 Signed-off-by: Michał Górny <mgorny@g.o>
2 ---
3 eclass/python-any-r2.eclass | 4 ++++
4 1 file changed, 4 insertions(+)
5
6 diff --git a/eclass/python-any-r2.eclass b/eclass/python-any-r2.eclass
7 index d6523a93646a..e7e5b3b9c68f 100644
8 --- a/eclass/python-any-r2.eclass
9 +++ b/eclass/python-any-r2.eclass
10 @@ -296,6 +296,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 @@ -304,6 +305,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 @@ -319,6 +321,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 @@ -329,6 +332,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