Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Tue, 27 Sep 2022 20:28:57
Message-Id: 1664310478.a8a1bce1974e45955bfe41d1edea6bd568e229ee.mgorny@gentoo
1 commit: a8a1bce1974e45955bfe41d1edea6bd568e229ee
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 24 16:23:00 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 27 20:27:58 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8a1bce1
7
8 unpacker.eclass: Remove support for EAPI 5
9
10 There are no ebuilds using it in EAPI 5 anymore, and it is the last EAPI
11 requiring support for bash 3.2.
12
13 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
14
15 eclass/unpacker.eclass | 6 +++---
16 1 file changed, 3 insertions(+), 3 deletions(-)
17
18 diff --git a/eclass/unpacker.eclass b/eclass/unpacker.eclass
19 index 1f2f09e33ad6..915a31c86437 100644
20 --- a/eclass/unpacker.eclass
21 +++ b/eclass/unpacker.eclass
22 @@ -4,7 +4,7 @@
23 # @ECLASS: unpacker.eclass
24 # @MAINTAINER:
25 # base-system@g.o
26 -# @SUPPORTED_EAPIS: 5 6 7 8
27 +# @SUPPORTED_EAPIS: 6 7 8
28 # @BLURB: helpers for extraneous file formats and consistent behavior across EAPIs
29 # @DESCRIPTION:
30 # Some extraneous file formats are not part of PMS, or are only in certain
31 @@ -16,7 +16,7 @@
32 # - support partial unpacks?
33
34 case ${EAPI:-0} in
35 - [5678]) ;;
36 + [678]) ;;
37 *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
38 esac
39
40 @@ -440,7 +440,7 @@ _unpacker() {
41 esac
42
43 # 7z, rar and lha/lzh are handled by package manager in EAPI < 8
44 - if [[ ${EAPI} != [567] ]]; then
45 + if [[ ${EAPI} != [67] ]]; then
46 case ${m} in
47 *.7z)
48 arch="unpack_7z" ;;