eclass/preserve-libs: Support EAPI 0 and 4

This commit is contained in:
Krzesimir Nowak 2021-12-21 10:53:00 +01:00
parent b5d401dc6b
commit 6b3e575b50

View File

@ -1,14 +1,16 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Flatcar: Support EAPI 0 and 4.
# @ECLASS: preserve-libs.eclass
# @MAINTAINER:
# base-system@gentoo.org
# @SUPPORTED_EAPIS: 5 6 7
# @SUPPORTED_EAPIS: 0 4 5 6 7
# @BLURB: preserve libraries after SONAME changes
case ${EAPI:-0} in
[567]) ;;
[04567]) ;;
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
esac