commit:     9a367acd627349a5cde2ec7b4fe88a82f664c1ff
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 28 08:22:38 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Nov 15 16:34:02 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a367acd

scons-utils.eclass: Use python_has_version

Signed-off-by: Michał Górny <mgorny <AT> 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

Reply via email to