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

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

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

 eclass/python-any-r1.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/python-any-r1.eclass b/eclass/python-any-r1.eclass
index db8f23647cd..3863ef6fa84 100644
--- a/eclass/python-any-r1.eclass
+++ b/eclass/python-any-r1.eclass
@@ -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})"
 

Reply via email to