From 3149f6b213a982cf2c95918364e77ce8793b7c58 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Tue, 19 Nov 2019 07:59:34 +0100 Subject: [PATCH] python-r1.eclass: Fix stripping :0= from PyPy w/ REQ_USE set MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- eclass/python-r1.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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})" -- 2.26.2