Gentoo Archives: gentoo-dev

From: Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH eutils] Introduce has_iuse() for IUSE checks.
Date: Wed, 14 Sep 2011 05:32:42
Message-Id: 20110914061838.32bbd314@googlemail.com
In Reply to: Re: [gentoo-dev] [PATCH eutils] Introduce has_iuse() for IUSE checks. by Mike Frysinger
1 On Tue, 13 Sep 2011 10:29:48 -0400
2 Mike Frysinger <vapier@g.o> wrote:
3 > > You don't do it by checking IUSE. You do it by having the ebuild
4 > > define a variable like WANT_MONKEY_SUPPORT.
5 >
6 > it's a crap shoot. as long as Michał's proposed func doesnt attempt
7 > to make guarantees that don't exist now, i think it's fine. we have
8 > ebuilds/eclasses that are already using it, so unifying it purely for
9 > the [+-] cleanup makes sense to me.
10
11 Providing a function, especially in eutils, makes people think that it
12 will work. It won't work, so the solution is to fix ebuilds and
13 eclasses that are doing it and make sure people realise why they can't
14 do that.
15
16 --
17 Ciaran McCreesh

Attachments

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

Replies