summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-09-24 18:23:00 +0200
committerMichał Górny <mgorny@gentoo.org>2022-09-27 22:27:58 +0200
commita8a1bce1974e45955bfe41d1edea6bd568e229ee (patch)
tree75065ac1247200173a5885c9029d485cc6164369 /eclass
parentunpacker.eclass: Fix unpack_7z to respect the exit status (diff)
downloadgentoo-a8a1bce1974e45955bfe41d1edea6bd568e229ee.tar.gz
gentoo-a8a1bce1974e45955bfe41d1edea6bd568e229ee.tar.bz2
gentoo-a8a1bce1974e45955bfe41d1edea6bd568e229ee.zip
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@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/unpacker.eclass6
1 files 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:
# base-system@gentoo.org
-# @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" ;;