Gentoo Archives: gentoo-dev

From: "Petteri Räty" <betelgeuse@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] EAPI placement
Date: Thu, 13 Dec 2007 16:21:38
Message-Id: 47615AE2.10002@gentoo.org
In Reply to: Re: [gentoo-dev] EAPI placement by Ciaran McCreesh
1 Ciaran McCreesh kirjoitti:
2 > On Wed, 12 Dec 2007 15:08:36 +0100
3 > "Santiago M. Mola" <coldwind@g.o> wrote:
4 >> Would it be possible to have eclass/eapiBLAH/foo.eclass?
5 >
6 > No. Not even with an EAPI change. This is one of the deficiencies in
7 > the way EAPI was designed -- an EAPI cannot change the behaviour of
8 > inherit, nor can it introduce new global-scope functions.
9 >
10
11 Actually adding new global scope functions is possible with the help of
12 base/profile.bashrc . We can use that file to add stubs so that sourcing
13 the ebuild still works. The only restriction is that the new function
14 can't be used to evaluate the value of EAPI.
15
16 Regards,
17 Petteri

Attachments

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