From 9a367acd627349a5cde2ec7b4fe88a82f664c1ff Mon Sep 17 00:00:00 2001 From: Michał Górny <mgorny@gentoo.org> Date: Fri, 28 Oct 2022 10:22:38 +0200 Subject: scons-utils.eclass: Use python_has_version MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny <mgorny@gentoo.org> --- eclass/scons-utils.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/scons-utils.eclass b/eclass/scons-utils.eclass index ef26b564fb8c..78a9958ec422 100644 --- a/eclass/scons-utils.eclass +++ b/eclass/scons-utils.eclass @@ -102,7 +102,7 @@ if [[ ${_PYTHON_ANY_R1} ]]; then BDEPEND="$(python_gen_any_dep "${SCONS_DEPEND}[\${PYTHON_USEDEP}]")" scons-utils_python_check_deps() { - has_version "${SCONS_DEPEND}[${PYTHON_USEDEP}]" + python_has_version "${SCONS_DEPEND}[${PYTHON_USEDEP}]" } python_check_deps() { scons-utils_python_check_deps; } elif [[ ${_PYTHON_SINGLE_R1} ]]; then -- cgit v1.2.3-65-gdbad