commit:     ecfff63ca311633cacb638e44aed726c41cdaa30
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Mar  4 13:20:52 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Mar  5 07:57:39 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ecfff63c

python-any-r1.eclass: Report impl used by python_setup

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 eclass/python-any-r1.eclass | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/eclass/python-any-r1.eclass b/eclass/python-any-r1.eclass
index 5d74c8acd3e..66c6965c04e 100644
--- a/eclass/python-any-r1.eclass
+++ b/eclass/python-any-r1.eclass
@@ -301,6 +301,7 @@ python_setup() {
 
                python_export "${impls[0]}" EPYTHON PYTHON
                python_wrapper_setup
+               einfo "Using ${EPYTHON} to build"
                return
        fi
 
@@ -309,6 +310,7 @@ python_setup() {
                if _python_EPYTHON_supported "${EPYTHON}"; then
                        python_export EPYTHON PYTHON
                        python_wrapper_setup
+                       einfo "Using ${EPYTHON} to build"
                        return
                fi
        fi
@@ -324,6 +326,7 @@ python_setup() {
                elif _python_EPYTHON_supported "${i}"; then
                        python_export "${i}" EPYTHON PYTHON
                        python_wrapper_setup
+                       einfo "Using ${EPYTHON} to build"
                        return
                fi
        done
@@ -334,6 +337,7 @@ python_setup() {
                python_export "${_PYTHON_SUPPORTED_IMPLS[i]}" EPYTHON PYTHON
                if _python_EPYTHON_supported "${EPYTHON}"; then
                        python_wrapper_setup
+                       einfo "Using ${EPYTHON} to build"
                        return
                fi
        done

Reply via email to