From 9ce3b175da97919ba5a1bb93d7b1ff7595f20020 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Wed, 7 Apr 2021 10:24:09 +0200 Subject: python-any-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-any-r1.eclass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'eclass/python-any-r1.eclass') 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 # Based on work of: Krzysztof Pawlik -# @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 -- cgit v1.2.3-65-gdbad