eclass/python-r1: Sync with Gentoo

It's from Gentoo commit ee468eec11953a67f877bc7e15079f9dcdc7ddaa.
This commit is contained in:
Flatcar Buildbot 2023-08-07 07:12:52 +00:00 committed by Krzesimir Nowak
parent 9295f0901f
commit eb1df1a05e

View File

@ -522,7 +522,7 @@ python_gen_any_dep() {
local i_depstr=${depstr//\$\{PYTHON_USEDEP\}/${PYTHON_USEDEP}}
i_depstr=${i_depstr//\$\{PYTHON_SINGLE_USEDEP\}/${PYTHON_SINGLE_USEDEP}}
# note: need to strip '=' slot operator for || deps
out="( ${PYTHON_PKG_DEP/:0=/:0} ${i_depstr} ) ${out}"
out="( ${PYTHON_PKG_DEP/:=} ${i_depstr} ) ${out}"
fi
done
echo "|| ( ${out})"