Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: "Michał Górny" <mgorny@g.o>
Subject: [gentoo-dev] [PATCH 08/30] python-any-r1.eclass: Explain the reason for interpreter choice
Date: Sun, 06 Feb 2022 12:51:38
Message-Id: 20220206124841.1299133-9-mgorny@gentoo.org
In Reply to: [gentoo-dev] [PATCH 00/30] One batch of Python eclass updates to rule them all by "Michał Górny"
1 Signed-off-by: Michał Górny <mgorny@g.o>
2 ---
3 eclass/python-any-r1.eclass | 6 +++---
4 1 file changed, 3 insertions(+), 3 deletions(-)
5
6 diff --git a/eclass/python-any-r1.eclass b/eclass/python-any-r1.eclass
7 index 8d3af399b4be..5c01e9eb6888 100644
8 --- a/eclass/python-any-r1.eclass
9 +++ b/eclass/python-any-r1.eclass
10 @@ -294,7 +294,7 @@ python_setup() {
11
12 _python_export "${impls[0]}" EPYTHON PYTHON
13 _python_wrapper_setup
14 - einfo "Using ${EPYTHON} to build"
15 + einfo "Using ${EPYTHON} to build (via PYTHON_COMPAT_OVERRIDE)"
16 return
17 fi
18
19 @@ -308,7 +308,7 @@ python_setup() {
20 elif _python_run_check_deps "${impl}"; then
21 _python_export EPYTHON PYTHON
22 _python_wrapper_setup
23 - einfo "Using ${EPYTHON} to build"
24 + einfo "Using ${EPYTHON} to build (via EPYTHON)"
25 return
26 fi
27 fi
28 @@ -320,7 +320,7 @@ python_setup() {
29 _python_export "${impl}" EPYTHON PYTHON
30 if _python_run_check_deps "${impl}"; then
31 _python_wrapper_setup
32 - einfo "Using ${EPYTHON} to build"
33 + einfo "Using ${EPYTHON} to build (via PYTHON_COMPAT iteration)"
34 return
35 fi
36 done
37 --
38 2.35.1