It's common for python_check_deps to call python_has_version, which
calls ebegin itself.

Closes: https://bugs.gentoo.org/851822
Signed-off-by: Mike Gilbert <flop...@gentoo.org>
---
 eclass/python-utils-r1.eclass | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass
index a18ca58475f..ab59db9954e 100644
--- a/eclass/python-utils-r1.eclass
+++ b/eclass/python-utils-r1.eclass
@@ -1399,9 +1399,15 @@ _python_run_check_deps() {
 
        local PYTHON_USEDEP="python_targets_${impl}(-)"
        local PYTHON_SINGLE_USEDEP="python_single_target_${impl}(-)"
-       ebegin "  python_check_deps"
+       einfo "  python_check_deps"
        python_check_deps
-       eend ${?}
+       local status=$?
+       if [[ ${status} -eq 0 ]]; then
+               einfo "  python_check_deps succeeded"
+       else
+               einfo "  python_check_deps failed"
+       fi
+       return ${status}
 }
 
 # @FUNCTION: python_has_version
-- 
2.37.0


Reply via email to