commit: a8a1bce1974e45955bfe41d1edea6bd568e229ee Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Sat Sep 24 16:23:00 2022 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Tue Sep 27 20:27:58 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8a1bce1
unpacker.eclass: Remove support for EAPI 5 There are no ebuilds using it in EAPI 5 anymore, and it is the last EAPI requiring support for bash 3.2. Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> eclass/unpacker.eclass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/eclass/unpacker.eclass b/eclass/unpacker.eclass index 1f2f09e33ad6..915a31c86437 100644 --- a/eclass/unpacker.eclass +++ b/eclass/unpacker.eclass @@ -4,7 +4,7 @@ # @ECLASS: unpacker.eclass # @MAINTAINER: # [email protected] -# @SUPPORTED_EAPIS: 5 6 7 8 +# @SUPPORTED_EAPIS: 6 7 8 # @BLURB: helpers for extraneous file formats and consistent behavior across EAPIs # @DESCRIPTION: # Some extraneous file formats are not part of PMS, or are only in certain @@ -16,7 +16,7 @@ # - support partial unpacks? case ${EAPI:-0} in - [5678]) ;; + [678]) ;; *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; esac @@ -440,7 +440,7 @@ _unpacker() { esac # 7z, rar and lha/lzh are handled by package manager in EAPI < 8 - if [[ ${EAPI} != [567] ]]; then + if [[ ${EAPI} != [67] ]]; then case ${m} in *.7z) arch="unpack_7z" ;;
