From: Michał Górny Date: Tue, 19 Nov 2019 06:59:34 +0000 (+0100) Subject: python-r1.eclass: Fix stripping :0= from PyPy w/ REQ_USE set X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3149f6b213a982cf2c95918364e77ce8793b7c58;p=gentoo.git python-r1.eclass: Fix stripping :0= from PyPy w/ REQ_USE set Signed-off-by: Michał Górny --- diff --git a/eclass/python-r1.eclass b/eclass/python-r1.eclass index b06413170ae5..7665edbd87e3 100644 --- a/eclass/python-r1.eclass +++ b/eclass/python-r1.eclass @@ -543,7 +543,7 @@ python_gen_any_dep() { local i_depstr=${depstr//\$\{PYTHON_USEDEP\}/${PYTHON_USEDEP}} # note: need to strip '=' slot operator for || deps - out="( ${PYTHON_PKG_DEP%=} ${i_depstr} ) ${out}" + out="( ${PYTHON_PKG_DEP/:0=/:0} ${i_depstr} ) ${out}" fi done echo "|| ( ${out})"