summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Michael <fedora.dm0@gmail.com>2021-06-26 16:43:49 -0400
committerMike Gilbert <floppym@gentoo.org>2021-07-02 11:32:34 -0400
commit0697b888a0eddc07eb668e38abafe499c7d11c13 (patch)
tree8cab38a809815e617d448faca534cc8e33be8eee /eclass/multilib-minimal.eclass
parentmultilib-build.eclass: EAPI 8 support (diff)
downloadgentoo-0697b888a0eddc07eb668e38abafe499c7d11c13.tar.gz
gentoo-0697b888a0eddc07eb668e38abafe499c7d11c13.tar.bz2
gentoo-0697b888a0eddc07eb668e38abafe499c7d11c13.zip
multilib-minimal.eclass: EAPI 8 support
Also drop EAPI 4 to match multilib-build.eclass. Signed-off-by: David Michael <fedora.dm0@gmail.com> Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'eclass/multilib-minimal.eclass')
-rw-r--r--eclass/multilib-minimal.eclass11
1 files changed, 5 insertions, 6 deletions
diff --git a/eclass/multilib-minimal.eclass b/eclass/multilib-minimal.eclass
index 8f7c7ba6fb3..6c5c754381b 100644
--- a/eclass/multilib-minimal.eclass
+++ b/eclass/multilib-minimal.eclass
@@ -4,7 +4,7 @@
# @ECLASS: multilib-minimal.eclass
# @MAINTAINER:
# Michał Górny <mgorny@gentoo.org>
-# @SUPPORTED_EAPIS: 4 5 6 7
+# @SUPPORTED_EAPIS: 5 6 7 8
# @BLURB: wrapper for multilib builds providing convenient multilib_src_* functions
# @DESCRIPTION:
#
@@ -23,14 +23,13 @@
# If you need generic install rules, use multilib_src_install_all function.
-# EAPI=4 is required for meaningful MULTILIB_USEDEP.
-case ${EAPI:-0} in
- 4|5|6|7) ;;
- *) die "EAPI=${EAPI} is not supported" ;;
+case ${EAPI} in
+ 5|6|7|8) ;;
+ *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
esac
-[[ ${EAPI} == [45] ]] && inherit eutils
+[[ ${EAPI} == 5 ]] && inherit eutils
inherit multilib-build
EXPORT_FUNCTIONS src_configure src_compile src_test src_install