summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-02-04 19:37:45 +0100
committerMichał Górny <mgorny@gentoo.org>2022-02-04 19:40:10 +0100
commit62db869f4c3a1d24f31c2cbf8565e5d63364ca42 (patch)
treee9643453213d3d03b6a3ceb5bae49d996b76e51e /eclass
parentapp-misc/rmlint: Replace deprecated PYTHON_MULTI_USEDEP (diff)
downloadgentoo-62db869f4c3a1d24f31c2cbf8565e5d63364ca42.tar.gz
gentoo-62db869f4c3a1d24f31c2cbf8565e5d63364ca42.tar.bz2
gentoo-62db869f4c3a1d24f31c2cbf8565e5d63364ca42.zip
scons-utils.eclass: Replace deprecated PYTHON_MULTI_USEDEP
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/scons-utils.eclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/scons-utils.eclass b/eclass/scons-utils.eclass
index 93eac1a4c4aa..35bda2bc1ac3 100644
--- a/eclass/scons-utils.eclass
+++ b/eclass/scons-utils.eclass
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# @ECLASS: scons-utils.eclass
@@ -128,9 +128,9 @@ if [[ ${_PYTHON_ANY_R1} ]]; then
}
python_check_deps() { scons-utils_python_check_deps; }
elif [[ ${_PYTHON_SINGLE_R1} ]]; then
- # when using python-single-r1, use PYTHON_MULTI_USEDEP API
+ # when using python-single-r1, use PYTHON_USEDEP API
BDEPEND="
- $(python_gen_cond_dep "${SCONS_DEPEND}[\${PYTHON_MULTI_USEDEP}]")
+ $(python_gen_cond_dep "${SCONS_DEPEND}[\${PYTHON_USEDEP}]")
${PYTHON_DEPS}"
elif [[ ${EAPI:-0} == [0123456] ]]; then
# in older EAPIs, just force Python 2.7