PYTHON_MULTI_USEDEP was a temporary transition measure, and is now equivalent to PYTHON_USEDEP. Ban it in EAPI 8 to clean up ebuilds.
Signed-off-by: Michał Górny <[email protected]> --- eclass/python-single-r1.eclass | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/eclass/python-single-r1.eclass b/eclass/python-single-r1.eclass index 50ec69fa2ddb..6dd0616aa219 100644 --- a/eclass/python-single-r1.eclass +++ b/eclass/python-single-r1.eclass @@ -392,6 +392,12 @@ python_gen_cond_dep() { fi local multi_usedep="python_targets_${impl}(-)" + if [[ ${EAPI} != [67] ]]; then + if [[ ${dep} == *\$\{PYTHON_MULTI_USEDEP\}* ]]; then + die "Replace PYTHON_MULTI_USEDEP with PYTHON_USEDEP in EAPI ${EAPI}" + fi + fi + local subdep=${dep//\$\{PYTHON_MULTI_USEDEP\}/${multi_usedep}} matches+=( "python_single_target_${impl}? ( ${subdep//\$\{PYTHON_USEDEP\}/${multi_usedep}} )" ) -- 2.32.0
