summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-10-28 10:22:38 +0200
committerMichał Górny <mgorny@gentoo.org>2022-11-15 17:34:02 +0100
commit9a367acd627349a5cde2ec7b4fe88a82f664c1ff (patch)
tree8d49473b158595583e690d8070e32ecb8e650389
parentscons-utils.eclass: Remove support for EAPI 0..6 (diff)
downloadgentoo-9a367acd627349a5cde2ec7b4fe88a82f664c1ff.tar.gz
gentoo-9a367acd627349a5cde2ec7b4fe88a82f664c1ff.tar.bz2
gentoo-9a367acd627349a5cde2ec7b4fe88a82f664c1ff.zip
scons-utils.eclass: Use python_has_version
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r--eclass/scons-utils.eclass2
1 files changed, 1 insertions, 1 deletions
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