summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2019-11-19 07:59:34 +0100
committerMichał Górny <mgorny@gentoo.org>2019-11-19 08:02:27 +0100
commit3149f6b213a982cf2c95918364e77ce8793b7c58 (patch)
treeff1d3b39d789072b8784093de5388544868884e9 /eclass/python-r1.eclass
parentpython-any-r1.eclass: Fix stripping :0= from PyPy w/ REQ_USE set (diff)
downloadgentoo-3149f6b213a982cf2c95918364e77ce8793b7c58.tar.gz
gentoo-3149f6b213a982cf2c95918364e77ce8793b7c58.tar.bz2
gentoo-3149f6b213a982cf2c95918364e77ce8793b7c58.zip
python-r1.eclass: Fix stripping :0= from PyPy w/ REQ_USE set
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'eclass/python-r1.eclass')
-rw-r--r--eclass/python-r1.eclass2
1 files changed, 1 insertions, 1 deletions
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})"