summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-04-07 10:24:09 +0200
committerMichał Górny <mgorny@gentoo.org>2021-04-09 23:55:54 +0200
commit9ce3b175da97919ba5a1bb93d7b1ff7595f20020 (patch)
tree411d03207045e6bb5d83beeaaa53762008be8e00 /eclass/python-any-r1.eclass
parentpython-single-r1.eclass: Remove support for EAPIs prior to 6 (diff)
downloadgentoo-9ce3b175da97919ba5a1bb93d7b1ff7595f20020.tar.gz
gentoo-9ce3b175da97919ba5a1bb93d7b1ff7595f20020.tar.bz2
gentoo-9ce3b175da97919ba5a1bb93d7b1ff7595f20020.zip
python-any-r1.eclass: Remove support for EAPIs prior to 6
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'eclass/python-any-r1.eclass')
-rw-r--r--eclass/python-any-r1.eclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/python-any-r1.eclass b/eclass/python-any-r1.eclass
index 3a80fa35c577..49f639d5fac6 100644
--- a/eclass/python-any-r1.eclass
+++ b/eclass/python-any-r1.eclass
@@ -7,7 +7,7 @@
# @AUTHOR:
# Author: Michał Górny <mgorny@gentoo.org>
# Based on work of: Krzysztof Pawlik <nelchael@gentoo.org>
-# @SUPPORTED_EAPIS: 5 6 7
+# @SUPPORTED_EAPIS: 6 7
# @BLURB: An eclass for packages having build-time dependency on Python.
# @DESCRIPTION:
# A minimal eclass for packages which need any Python interpreter
@@ -38,8 +38,8 @@
# https://dev.gentoo.org/~mgorny/python-guide/
case "${EAPI:-0}" in
- [0-4]) die "Unsupported EAPI=${EAPI:-0} (too old) for ${ECLASS}" ;;
- [5-7]) ;;
+ [0-5]) die "Unsupported EAPI=${EAPI:-0} (too old) for ${ECLASS}" ;;
+ [6-7]) ;;
*) die "Unsupported EAPI=${EAPI} (unknown) for ${ECLASS}" ;;
esac