* [gentoo-dev] [PATCH] unpacker.eclass: enable EAPI 8
@ 2021-08-26 10:10 Stephan Hartmann
2021-08-26 11:40 ` Ulrich Mueller
0 siblings, 1 reply; 4+ messages in thread
From: Stephan Hartmann @ 2021-08-26 10:10 UTC (permalink / raw
To: gentoo-dev; +Cc: base-system, Stephan Hartmann
Signed-off-by: Stephan Hartmann <sultan@gentoo.org>
---
eclass/unpacker.eclass | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/eclass/unpacker.eclass b/eclass/unpacker.eclass
index c9dab4345c9..424975ba8ba 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
+# @SUPPORTED_EAPIS: 5 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
- [567]) ;;
+ [5678]) ;;
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
esac
--
2.31.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [gentoo-dev] [PATCH] unpacker.eclass: enable EAPI 8
2021-08-26 10:10 [gentoo-dev] [PATCH] unpacker.eclass: enable EAPI 8 Stephan Hartmann
@ 2021-08-26 11:40 ` Ulrich Mueller
2021-08-26 15:43 ` Mike Gilbert
0 siblings, 1 reply; 4+ messages in thread
From: Ulrich Mueller @ 2021-08-26 11:40 UTC (permalink / raw
To: Stephan Hartmann; +Cc: gentoo-dev, base-system
[-- Attachment #1: Type: text/plain, Size: 885 bytes --]
>>>>> On Thu, 26 Aug 2021, Stephan Hartmann wrote:
> --- 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
> +# @SUPPORTED_EAPIS: 5 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
> - [567]) ;;
> + [5678]) ;;
> *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
> esac
>
I think for EAPI 8 you'll need additional cases in _unpacker() for
7z, .rar, and .lha/.lzh, because package manager support for these
extensions has been dropped:
https://projects.gentoo.org/pms/8/pms.html#x1-135002r24
Ulrich
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 507 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-dev] [PATCH] unpacker.eclass: enable EAPI 8
2021-08-26 11:40 ` Ulrich Mueller
@ 2021-08-26 15:43 ` Mike Gilbert
2021-08-26 18:18 ` Stephan Hartmann
0 siblings, 1 reply; 4+ messages in thread
From: Mike Gilbert @ 2021-08-26 15:43 UTC (permalink / raw
To: Gentoo Dev; +Cc: base-system
On Thu, Aug 26, 2021 at 7:40 AM Ulrich Mueller <ulm@gentoo.org> wrote:
>
> >>>>> On Thu, 26 Aug 2021, Stephan Hartmann wrote:
>
> > --- 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
> > +# @SUPPORTED_EAPIS: 5 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
> > - [567]) ;;
> > + [5678]) ;;
> > *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
> > esac
> >
>
> I think for EAPI 8 you'll need additional cases in _unpacker() for
> 7z, .rar, and .lha/.lzh, because package manager support for these
> extensions has been dropped:
> https://projects.gentoo.org/pms/8/pms.html#x1-135002r24
That would be a nice enhancement for the eclass, but I don't think it
needs to be implemented before EAPI 8 is allowed. It could wait until
some EAPI 8 ebuild actually needs to unpack one of these obscure
formats.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-dev] [PATCH] unpacker.eclass: enable EAPI 8
2021-08-26 15:43 ` Mike Gilbert
@ 2021-08-26 18:18 ` Stephan Hartmann
0 siblings, 0 replies; 4+ messages in thread
From: Stephan Hartmann @ 2021-08-26 18:18 UTC (permalink / raw
To: gentoo-dev, Mike Gilbert; +Cc: base-system
On 8/26/21 5:43 PM, Mike Gilbert wrote:
> On Thu, Aug 26, 2021 at 7:40 AM Ulrich Mueller <ulm@gentoo.org> wrote:
>>
>>>>>>> On Thu, 26 Aug 2021, Stephan Hartmann wrote:
>>
>>> --- 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
>>> +# @SUPPORTED_EAPIS: 5 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
>>> - [567]) ;;
>>> + [5678]) ;;
>>> *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
>>> esac
>>>
>>
>> I think for EAPI 8 you'll need additional cases in _unpacker() for
>> 7z, .rar, and .lha/.lzh, because package manager support for these
>> extensions has been dropped:
>> https://projects.gentoo.org/pms/8/pms.html#x1-135002r24
>
> That would be a nice enhancement for the eclass, but I don't think it
> needs to be implemented before EAPI 8 is allowed. It could wait until
> some EAPI 8 ebuild actually needs to unpack one of these obscure
> formats.
>
Almost implemented, just need some runtime testing. Will sent an updated
patch tomorrow.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-08-26 18:18 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-08-26 10:10 [gentoo-dev] [PATCH] unpacker.eclass: enable EAPI 8 Stephan Hartmann
2021-08-26 11:40 ` Ulrich Mueller
2021-08-26 15:43 ` Mike Gilbert
2021-08-26 18:18 ` Stephan Hartmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox