commit:     3149f6b213a982cf2c95918364e77ce8793b7c58
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 19 06:59:34 2019 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Nov 19 07:02:27 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3149f6b2

python-r1.eclass: Fix stripping :0= from PyPy w/ REQ_USE set

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 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 b06413170ae..7665edbd87e 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})"

Reply via email to