From 2cba2db27919bc449ed2a7bf7ed3259c6b96e65f Mon Sep 17 00:00:00 2001 From: David Seifert Date: Fri, 17 Mar 2023 23:04:31 +0100 Subject: eclass: standardize prologue/epilogue Closes: https://github.com/gentoo/gentoo/pull/30061 Signed-off-by: David Seifert --- eclass/unpacker.eclass | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'eclass/unpacker.eclass') diff --git a/eclass/unpacker.eclass b/eclass/unpacker.eclass index 44ff2af5acf3..2a0dcf45d76a 100644 --- a/eclass/unpacker.eclass +++ b/eclass/unpacker.eclass @@ -15,8 +15,8 @@ # - merge rpm unpacking # - support partial unpacks? -case ${EAPI:-0} in - [678]) ;; +case ${EAPI} in + 6|7|8) ;; *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; esac @@ -642,6 +642,6 @@ unpacker_src_uri_depends() { echo "${deps[*]}" } -EXPORT_FUNCTIONS src_unpack - fi + +EXPORT_FUNCTIONS src_unpack -- cgit v1.2.3-65-gdbad