Gentoo Archives: gentoo-dev

From: Thomas de Grenier de Latour <degrenier@×××××××××××.fr>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [GLEP] Use EAPI-suffixed ebuilds (.ebuild-EAPI)
Date: Tue, 18 Dec 2007 00:40:20
Message-Id: 20071218013651.58f4f565@eusebe
In Reply to: Re: [gentoo-dev] [GLEP] Use EAPI-suffixed ebuilds (.ebuild-EAPI) by Ciaran McCreesh
1 On 2007/12/18, Ciaran McCreesh <ciaran.mccreesh@×××××××××××××.uk> wrote:
2
3 > On Mon, 17 Dec 2007 17:10:46 -0700
4 > Joe Peterson <lavajoe@g.o> wrote:
5 > > I probably missed some of the stuff leading up to this GLEP, but
6 > > what is the problem with having the EAPI in the file and
7 > > determining it by looking at the file contents?
8 >
9 > Motivation, second bullet point:
10 >
11 > | Possibility to extend the behaviour of inherit and add new global
12 > | scope functions (as a result of not sourcing ebuilds with
13 > | unsupported EAPI).
14
15 Why can't it be in the file but readable without sourcing? For instance,
16 it could be mandatory that EAPI=X, if present, must be the first
17 non-blank and non-comment line of the ebuild (and it would then be
18 checked after sourcing, if the ebuild is sourced, to bug on cases where
19 it's redefined or unset afterwards).
20
21 --
22 TGL.
23 --
24 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] [GLEP] Use EAPI-suffixed ebuilds (.ebuild-EAPI) Ciaran McCreesh <ciaran.mccreesh@×××××××××××××.uk>
Re: [gentoo-dev] [GLEP] Use EAPI-suffixed ebuilds (.ebuild-EAPI) "Bo Ørsted Andresen" <bo.andresen@××××.dk>
[gentoo-dev] Re: [GLEP] Use EAPI-suffixed ebuilds (.ebuild-EAPI) Steve Long <slong@××××××××××××××××××.uk>