mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
python-any-r1.eclass: Remove support for EAPIs prior to 6
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user