python-any-r1.eclass: Fix := stripping again (now we have :3.11=)

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny 2025-02-13 07:28:16 +01:00
parent 0299d39ab3
commit 31b129be4f
No known key found for this signature in database
GPG Key ID: 639ADAE2329E240E

View File

@ -1,4 +1,4 @@
# Copyright 1999-2024 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# @ECLASS: python-any-r1.eclass
@ -175,7 +175,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/=} ${deps}"
done
deps="|| ( ${deps})"
@ -258,7 +258,7 @@ python_gen_any_dep() {
local i_depstr=${depstr//\$\{PYTHON_USEDEP\}/${PYTHON_USEDEP}}
i_depstr=${i_depstr//\$\{PYTHON_SINGLE_USEDEP\}/${PYTHON_SINGLE_USEDEP}}
# note: need to strip '=' slot operator for || deps
out="( ${PYTHON_PKG_DEP/:=} ${i_depstr} ) ${out}"
out="( ${PYTHON_PKG_DEP/=} ${i_depstr} ) ${out}"
done
echo "|| ( ${out})"
}