Gentoo Archives: gentoo-dev

From: Florian Schmaus <flow@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH v3 1/2] xdg.eclass: add EAPI 8 support
Date: Wed, 11 Aug 2021 11:54:30
Message-Id: 207455ff-2d55-6ec4-6e7a-e04aa5ba08a0@gentoo.org
In Reply to: Re: [gentoo-dev] [PATCH v3 1/2] xdg.eclass: add EAPI 8 support by Andreas Sturmlechner
1 On 10/08/2021 10.31, Andreas Sturmlechner wrote:
2 > On Montag, 9. August 2021 20:32:07 CEST Florian Schmaus wrote:
3 >> +if ${_DEFINE_XDG_SRC_PREPARE}; then
4 >
5 > You don't need an extra variable for that:
6 >
7 > if [[ ${EAPI} == [567] ]]; then
8
9 Thanks for the suggestion, but I prefer the current approach.
10
11 It avoids that someone later drops support for EAPI 5 and forgets
12 adjusting all the cases where it is mentioned. I think your other
13 suggestion, that dropping EAPI 4 in xdg_src_prepare() when removing
14 support for EAPI 4 was forgotten, somehow reinforces my point. :)
15
16 However, if someone feels strongly about this, then I am happy to drop
17 the _DEFINE_XDG_SRC_PREPARE variable. That's definitely not a hill I
18 want to die on.
19
20 - Flow

Replies

Subject Author
Re: [gentoo-dev] [PATCH v3 1/2] xdg.eclass: add EAPI 8 support Andreas Sturmlechner <asturm@g.o>