Gentoo Archives: gentoo-dev

From: Ulrich Mueller <ulm@g.o>
To: Stephan Hartmann <sultan@g.o>
Cc: gentoo-dev@l.g.o, base-system@g.o
Subject: Re: [gentoo-dev] [PATCH] unpacker.eclass: enable EAPI 8
Date: Thu, 26 Aug 2021 11:40:57
Message-Id: ur1egxwlk@gentoo.org
In Reply to: [gentoo-dev] [PATCH] unpacker.eclass: enable EAPI 8 by Stephan Hartmann
1 >>>>> On Thu, 26 Aug 2021, Stephan Hartmann wrote:
2
3 > --- a/eclass/unpacker.eclass
4 > +++ b/eclass/unpacker.eclass
5 > @@ -4,7 +4,7 @@
6 > # @ECLASS: unpacker.eclass
7 > # @MAINTAINER:
8 > # base-system@g.o
9 > -# @SUPPORTED_EAPIS: 5 6 7
10 > +# @SUPPORTED_EAPIS: 5 6 7 8
11 > # @BLURB: helpers for extraneous file formats and consistent behavior across EAPIs
12 > # @DESCRIPTION:
13 > # Some extraneous file formats are not part of PMS, or are only in certain
14 > @@ -16,7 +16,7 @@
15 > # - support partial unpacks?
16 >
17 > case ${EAPI:-0} in
18 > - [567]) ;;
19 > + [5678]) ;;
20 > *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
21 > esac
22 >
23
24 I think for EAPI 8 you'll need additional cases in _unpacker() for
25 7z, .rar, and .lha/.lzh, because package manager support for these
26 extensions has been dropped:
27 https://projects.gentoo.org/pms/8/pms.html#x1-135002r24
28
29 Ulrich

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] [PATCH] unpacker.eclass: enable EAPI 8 Mike Gilbert <floppym@g.o>