eclass/strip-linguas: Support EAPI 0 and 4

This commit is contained in:
Krzesimir Nowak 2021-12-21 10:57:46 +01:00
parent dc7d1bf238
commit f34c6b178e

View File

@ -1,16 +1,18 @@
# Copyright 2004-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Flatcar: Support EAPI 0 and 4.
# @ECLASS: strip-linguas.eclass
# @MAINTAINER:
# Ulrich Müller <ulm@gentoo.org>
# @AUTHOR:
# Mike Frysinger <vapier@gentoo.org>
# @SUPPORTED_EAPIS: 5 6 7 8
# @SUPPORTED_EAPIS: 0 4 5 6 7 8
# @BLURB: convenience function for LINGUAS support
case ${EAPI} in
5|6|7|8) ;;
case ${EAPI:-0} in
0|4|5|6|7|8) ;;
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
esac