From 950d2685fb3c0e651cde900a2d4238e81c2c2139 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Fri, 4 Feb 2022 15:36:33 +0100 Subject: [PATCH] python-utils-r1.eclass: Report _python_run_check_deps verbosely MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Report dep checking progress verbosely, to help users understand why a particular implementations was rejected or selected. Signed-off-by: Michał Górny --- eclass/python-utils-r1.eclass | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass index f8c0c00ce919e..2a83ef463ffd2 100644 --- a/eclass/python-utils-r1.eclass +++ b/eclass/python-utils-r1.eclass @@ -1380,12 +1380,20 @@ _python_run_check_deps() { local impl=${1} - python_is_installed "${impl}" || return 1 + einfo "Checking whether ${impl} is suitable ..." + + local PYTHON_PKG_DEP + _python_export "${impl}" PYTHON_PKG_DEP + ebegin " ${PYTHON_PKG_DEP}" + python_is_installed "${impl}" + eend ${?} || return 1 declare -f python_check_deps >/dev/null || return 0 local PYTHON_USEDEP="python_targets_${impl}(-)" local PYTHON_SINGLE_USEDEP="python_single_target_${impl}(-)" + ebegin " python_check_deps" python_check_deps + eend ${?} } _PYTHON_UTILS_R1=1