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

index db8f23647cd1de27d8ea94c434516464f730560e..3863ef6fa8495eb8fab47031e457723fbb1f0bec 100644 (file)
@@ -156,7 +156,7 @@ _python_any_set_globals() {
                python_export "${i}" PYTHON_PKG_DEP
 
                # note: need to strip '=' slot operator for || deps
-               deps="${PYTHON_PKG_DEP%=} ${deps}"
+               deps="${PYTHON_PKG_DEP/:0=/:0} ${deps}"
        done
        deps="|| ( ${deps})"