Gentoo Archives: gentoo-dev

From: Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] RFC: [Future EAPI] Exporting phase funcs from direct inherits only
Date: Tue, 14 Aug 2012 20:48:29
Message-Id: 20120814214556.7b51551c@googlemail.com
In Reply to: [gentoo-dev] RFC: [Future EAPI] Exporting phase funcs from direct inherits only by "Michał Górny"
1 On Tue, 14 Aug 2012 11:44:49 +0200
2 Michał Górny <mgorny@g.o> wrote:
3 > As some of you may have noticed, lately introduced 'double include
4 > preventions' have caused changes in effective phase functions in a few
5 > ebuilds. Also, often it is undesirable that change in inherits of
6 > an eclass may cause an undesired change of exported functions.
7
8 The problem here is that eclasses aren't clearly split between "utility"
9 and "does stuff", so people are inheriting "does stuff" eclasses to
10 get utilities. The fix is to stop having stupidly huge complicated
11 eclasses; changing inherit behaviour is just wallpapering over the
12 gaping hole.
13
14 --
15 Ciaran McCreesh

Attachments

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

Replies