commit:     b018602f6b585371d089985e31b25f6ea0585921
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 12 12:27:00 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jan 16 09:52:58 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b018602f

mount-boot.eclass: Remove support for EAPI 4 and 5

The eclass is no longer used by any EAPI 4 or 5 ebuilds in ::gentoo.
This removes the need for EAPI-conditional nonfatal support.

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 eclass/mount-boot.eclass | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/eclass/mount-boot.eclass b/eclass/mount-boot.eclass
index 00b36779325..2874f9aae11 100644
--- a/eclass/mount-boot.eclass
+++ b/eclass/mount-boot.eclass
@@ -5,6 +5,7 @@
 # @MAINTAINER:
 # [email protected]
 # @BLURB: functions for packages that install files into /boot
+# @SUPPORTED_EAPIS: 6 7
 # @DESCRIPTION:
 # This eclass is really only useful for bootloaders.
 #
@@ -13,7 +14,7 @@
 # error if it can't.  It does nothing if /boot isn't a separate partition.
 
 case ${EAPI:-0} in
-       4|5|6|7) ;;
+       6|7) ;;
        *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
 esac
 

Reply via email to