python-r1.eclass: Fix stripping :0= from PyPy w/ REQ_USE set
authorMichał Górny <mgorny@gentoo.org>
Tue, 19 Nov 2019 06:59:34 +0000 (07:59 +0100)
committerMichał Górny <mgorny@gentoo.org>
Tue, 19 Nov 2019 07:02:27 +0000 (08:02 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
eclass/python-r1.eclass

index b06413170ae5decb316a6a62cb6df25447030b77..7665edbd87e3d2f9d3ac397853a5009c5852edf0 100644 (file)
@@ -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})"