summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-04-30 07:54:14 +0200
committerMichał Górny <mgorny@gentoo.org>2020-04-30 07:55:43 +0200
commit700c2cde76eea5c777fefa52d3a26d2411cf1e19 (patch)
treeb62e024d4fa97b7567df2350cba88530911230d7 /eclass/python-utils-r1.eclass
parentdev-util/edi: clean old 0.7.1 (diff)
downloadgentoo-700c2cde76eea5c777fefa52d3a26d2411cf1e19.tar.gz
gentoo-700c2cde76eea5c777fefa52d3a26d2411cf1e19.tar.bz2
gentoo-700c2cde76eea5c777fefa52d3a26d2411cf1e19.zip
python-utils-r1.eclass: Restore old CPython version reqs
Closes: https://bugs.gentoo.org/720048 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'eclass/python-utils-r1.eclass')
-rw-r--r--eclass/python-utils-r1.eclass12
1 files changed, 5 insertions, 7 deletions
diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass
index e85aefda792..4af710da363 100644
--- a/eclass/python-utils-r1.eclass
+++ b/eclass/python-utils-r1.eclass
@@ -378,13 +378,11 @@ _python_export() {
local d
case ${impl} in
python2.7)
- PYTHON_PKG_DEP='>=dev-lang/python-2.7.17-r1:2.7';;
- python3.6)
- PYTHON_PKG_DEP=">=dev-lang/python-3.6.10:3.6";;
- python3.7)
- PYTHON_PKG_DEP=">=dev-lang/python-3.7.7-r1:3.7";;
- python3.8)
- PYTHON_PKG_DEP=">=dev-lang/python-3.8.2:3.8";;
+ PYTHON_PKG_DEP='>=dev-lang/python-2.7.5-r2:2.7';;
+ python*)
+ PYTHON_PKG_DEP="dev-lang/python:${impl#python}";;
+ pypy)
+ PYTHON_PKG_DEP='>=dev-python/pypy-7.3.0:0=';;
pypy3)
PYTHON_PKG_DEP='>=dev-python/pypy3-7.3.0:0=';;
*)