1 |
Report dep checking progress verbosely, to help users understand why |
2 |
a particular implementations was rejected or selected. |
3 |
|
4 |
Signed-off-by: Michał Górny <mgorny@g.o> |
5 |
--- |
6 |
eclass/python-utils-r1.eclass | 10 +++++++++- |
7 |
1 file changed, 9 insertions(+), 1 deletion(-) |
8 |
|
9 |
diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass |
10 |
index f8c0c00ce919..2a83ef463ffd 100644 |
11 |
--- a/eclass/python-utils-r1.eclass |
12 |
+++ b/eclass/python-utils-r1.eclass |
13 |
@@ -1380,12 +1380,20 @@ _python_run_check_deps() { |
14 |
|
15 |
local impl=${1} |
16 |
|
17 |
- python_is_installed "${impl}" || return 1 |
18 |
+ einfo "Checking whether ${impl} is suitable ..." |
19 |
+ |
20 |
+ local PYTHON_PKG_DEP |
21 |
+ _python_export "${impl}" PYTHON_PKG_DEP |
22 |
+ ebegin " ${PYTHON_PKG_DEP}" |
23 |
+ python_is_installed "${impl}" |
24 |
+ eend ${?} || return 1 |
25 |
declare -f python_check_deps >/dev/null || return 0 |
26 |
|
27 |
local PYTHON_USEDEP="python_targets_${impl}(-)" |
28 |
local PYTHON_SINGLE_USEDEP="python_single_target_${impl}(-)" |
29 |
+ ebegin " python_check_deps" |
30 |
python_check_deps |
31 |
+ eend ${?} |
32 |
} |
33 |
|
34 |
_PYTHON_UTILS_R1=1 |
35 |
-- |
36 |
2.35.1 |