Gentoo Archives: gentoo-dev

From: Ciaran McCreesh <ciaran.mccreesh@×××××××××××××.uk>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] EAPI placement
Date: Wed, 12 Dec 2007 14:25:43
Message-Id: 20071212142019.324bac6b@blueyonder.co.uk
In Reply to: Re: [gentoo-dev] EAPI placement by "Santiago M. Mola"
1 On Wed, 12 Dec 2007 15:08:36 +0100
2 "Santiago M. Mola" <coldwind@g.o> wrote:
3 > Would it be possible to have eclass/eapiBLAH/foo.eclass?
4
5 No. Not even with an EAPI change. This is one of the deficiencies in
6 the way EAPI was designed -- an EAPI cannot change the behaviour of
7 inherit, nor can it introduce new global-scope functions.
8
9 The .ebuild-eapi proposal didn't have this problem, but unfortunately it
10 was rejected for political reasons...
11
12 > > * Eclasses cannot be made not to work with any given EAPI. If such
13 > > functionality is desirable, someone needs to file an EAPI request
14 > > for permitting an alternative to 'die' that is legal in global
15 > > scope.
16 >
17 > So is it desirable?
18 >
19 > If portage masks ebuilds with an unsupported EAPI, what's the point?
20 > It'd be enough to be able to check EAPI compatibility in eclasses
21 > quickly so repoman and others can print a nice error.
22
23 The problem is that people change eclasses and don't check every single
24 package that uses them. Find a solution for that problem and then
25 eclasses supporting only a subset of EAPIs becomes feasible.
26
27 --
28 Ciaran McCreesh

Attachments

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

Replies

Subject Author
Re: [gentoo-dev] EAPI placement "Piotr Jaroszyński" <peper@g.o>
Re: [gentoo-dev] EAPI placement "Petteri Räty" <betelgeuse@g.o>