summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-04-07 10:18:44 +0200
committerMichał Górny <mgorny@gentoo.org>2021-04-09 23:55:52 +0200
commit3e6f16a4fc3c238fdac99c21ae020de19c457321 (patch)
tree5192d891d6696ca7f0fb51057d85e889ea335c70 /eclass
parentpython-r1.eclass: Remove support for EAPIs prior to 6 (diff)
downloadgentoo-3e6f16a4fc3c238fdac99c21ae020de19c457321.tar.gz
gentoo-3e6f16a4fc3c238fdac99c21ae020de19c457321.tar.bz2
gentoo-3e6f16a4fc3c238fdac99c21ae020de19c457321.zip
python-single-r1.eclass: Remove support for EAPIs prior to 6
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/python-single-r1.eclass7
1 files changed, 3 insertions, 4 deletions
diff --git a/eclass/python-single-r1.eclass b/eclass/python-single-r1.eclass
index fafd11021dd0..07db2d762ded 100644
--- a/eclass/python-single-r1.eclass
+++ b/eclass/python-single-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 Python packages not installed for multiple implementations.
# @DESCRIPTION:
# An extension of the python-r1 eclass suite for packages which
@@ -37,11 +37,10 @@
# https://dev.gentoo.org/~mgorny/python-guide/
case "${EAPI:-0}" in
- 0|1|2|3|4)
+ [0-5])
die "Unsupported EAPI=${EAPI:-0} (too old) for ${ECLASS}"
;;
- 5|6|7)
- # EAPI=5 is required for sane USE_EXPAND dependencies
+ [6-7])
;;
*)
die "Unsupported EAPI=${EAPI} (unknown) for ${ECLASS}"