commit: 9ce3b175da97919ba5a1bb93d7b1ff7595f20020 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Wed Apr 7 08:24:09 2021 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Fri Apr 9 21:55:54 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ce3b175
python-any-r1.eclass: Remove support for EAPIs prior to 6 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> eclass/python-any-r1.eclass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/eclass/python-any-r1.eclass b/eclass/python-any-r1.eclass index 3a80fa35c57..49f639d5fac 100644 --- a/eclass/python-any-r1.eclass +++ b/eclass/python-any-r1.eclass @@ -7,7 +7,7 @@ # @AUTHOR: # Author: Michał Górny <[email protected]> # Based on work of: Krzysztof Pawlik <[email protected]> -# @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
