From 3e6f16a4fc3c238fdac99c21ae020de19c457321 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Wed, 7 Apr 2021 10:18:44 +0200 Subject: python-single-r1.eclass: Remove support for EAPIs prior to 6 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- eclass/python-single-r1.eclass | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'eclass') 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 # Based on work of: Krzysztof Pawlik -# @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}" -- cgit v1.2.3-65-gdbad