python-any-r1.eclass: Report impl used by python_setup
authorMichał Górny <mgorny@gentoo.org>
Wed, 4 Mar 2020 13:20:52 +0000 (14:20 +0100)
committerMichał Górny <mgorny@gentoo.org>
Thu, 5 Mar 2020 07:57:39 +0000 (08:57 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
eclass/python-any-r1.eclass

index 5d74c8acd3e42d89c52522bc7163f7dbd6497ae5..66c6965c04eadbc40948b278dfdbf30b7efeb455 100644 (file)
@@ -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