summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-03-27 12:08:51 +0100
committerMichał Górny <mgorny@gentoo.org>2020-03-27 21:22:38 +0100
commit5da7d0165648d0a2ac96325f8b48b6ee12c4353c (patch)
tree92fab75ebde26239a228de948b3717013a9b1b50 /eclass
parentdev-python/jsonschema: Add python@ (diff)
downloadgentoo-5da7d0165648d0a2ac96325f8b48b6ee12c4353c.tar.gz
gentoo-5da7d0165648d0a2ac96325f8b48b6ee12c4353c.tar.bz2
gentoo-5da7d0165648d0a2ac96325f8b48b6ee12c4353c.zip
python-utils-r1.eclass: Bump minimal Python versions
Bump minimal Python versions to current stable to save ebuilds from having to hack around the dependencies. Signed-off-by: Michał Górny <mgorny@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/15135 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/python-utils-r1.eclass18
1 files changed, 8 insertions, 10 deletions
diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass
index aacee5ac35a0..77982c9b9c76 100644
--- a/eclass/python-utils-r1.eclass
+++ b/eclass/python-utils-r1.eclass
@@ -374,17 +374,15 @@ _python_export() {
local d
case ${impl} in
python2.7)
- PYTHON_PKG_DEP='>=dev-lang/python-2.7.5-r2:2.7';;
- python3.3)
- PYTHON_PKG_DEP='>=dev-lang/python-3.3.2-r2:3.3';;
- python*)
- PYTHON_PKG_DEP="dev-lang/python:${impl#python}";;
- pypy)
- PYTHON_PKG_DEP='>=dev-python/pypy-5:0=';;
+ 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.6:3.7";;
+ python3.8)
+ PYTHON_PKG_DEP=">=dev-lang/python-3.8.2:3.8";;
pypy3)
- PYTHON_PKG_DEP='>=dev-python/pypy3-5:0=';;
- jython2.7)
- PYTHON_PKG_DEP='dev-java/jython:2.7';;
+ PYTHON_PKG_DEP='>=dev-python/pypy3-7.3.0:0=';;
*)
die "Invalid implementation: ${impl}"
esac