eclass/multilib-minimal: Support EAPI 4

This commit is contained in:
Krzesimir Nowak 2021-12-21 09:38:21 +01:00
parent 57ca064a75
commit 6d921008d6

View File

@ -1,6 +1,8 @@
# Copyright 1999-2021 Gentoo Authors # Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# Flatcar: Support EAPI 4.
# @ECLASS: multilib-minimal.eclass # @ECLASS: multilib-minimal.eclass
# @MAINTAINER: # @MAINTAINER:
# Michał Górny <mgorny@gentoo.org> # Michał Górny <mgorny@gentoo.org>
@ -25,12 +27,12 @@
case ${EAPI} in case ${EAPI} in
5|6|7|8) ;; 4|5|6|7|8) ;;
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
esac esac
[[ ${EAPI} == 5 ]] && inherit eutils [[ ${EAPI} == [45] ]] && inherit eutils
inherit multilib-build inherit multilib-build
EXPORT_FUNCTIONS src_configure src_compile src_test src_install EXPORT_FUNCTIONS src_configure src_compile src_test src_install