for i in "${_PYTHON_SUPPORTED_IMPLS[@]}"; do
python_export "${i}" PYTHON_PKG_DEP
- PYTHON_DEPS="${PYTHON_PKG_DEP} ${PYTHON_DEPS}"
+ # note: need to strip '=' slot operator for || deps
+ PYTHON_DEPS="${PYTHON_PKG_DEP%=} ${PYTHON_DEPS}"
done
PYTHON_DEPS="|| ( ${PYTHON_DEPS})"
readonly PYTHON_DEPS
python_export "${i}" PYTHON_PKG_DEP
local i_depstr=${depstr//\$\{PYTHON_USEDEP\}/${PYTHON_USEDEP}}
- out="( ${PYTHON_PKG_DEP} ${i_depstr} ) ${out}"
+ # note: need to strip '=' slot operator for || deps
+ out="( ${PYTHON_PKG_DEP%=} ${i_depstr} ) ${out}"
done
echo "|| ( ${out})"
}