summaryrefslogtreecommitdiff
path: root/eclass/python-r1.eclass
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-07-15 17:51:25 +0200
committerMichał Górny <mgorny@gentoo.org>2023-07-17 11:44:22 +0200
commitee468eec11953a67f877bc7e15079f9dcdc7ddaa (patch)
tree7760d5a84170cb74f7b6dc7d30a025d4093437a6 /eclass/python-r1.eclass
parent8cc7354d298d9906237e696831ddbcbcc898fc5e (diff)
downloadgentoo-ee468eec11953a67f877bc7e15079f9dcdc7ddaa.tar.gz
gentoo-ee468eec11953a67f877bc7e15079f9dcdc7ddaa.tar.bz2
gentoo-ee468eec11953a67f877bc7e15079f9dcdc7ddaa.zip
python-utils-r1.eclass: Loosen minimal Python versions
Loosen minimal Python versions to accept any version in a given slot. Lower bounds are cumbersome to maintain and cause problems when upgrading outdated systems, particularly when sys-libs/glibc is involved. We could technically apply some hack to make any-r1 dependency checks to conditionally ignore minimal versions but that sounds like unnecessary complexity. In the end, minimum versions were primarily enforced to make sure users got the latest bugfixes but that doesn't seem strictly necessary. Closes: https://bugs.gentoo.org/910288 Signed-off-by: Michał Górny <mgorny@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/31796 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 4758defe6493..b816e3b6f855 100644
--- a/eclass/python-r1.eclass
+++ b/eclass/python-r1.eclass
@@ -522,7 +522,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/:0=/:0} ${i_depstr} ) ${out}"
+ out="( ${PYTHON_PKG_DEP/:=} ${i_depstr} ) ${out}"
fi
done
echo "|| ( ${out})"