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
In Reply to: Re: [gentoo-dev] [PATCH eutils] Introduce has_iuse() for IUSE checks. by Mike Frysinger
On Tue, 13 Sep 2011 10:29:48 -0400
Mike Frysinger <vapier@g.o> wrote:
> > You don't do it by checking IUSE. You do it by having the ebuild > > define a variable like WANT_MONKEY_SUPPORT. > > it's a crap shoot. as long as Michał's proposed func doesnt attempt > to make guarantees that don't exist now, i think it's fine. we have > ebuilds/eclasses that are already using it, so unifying it purely for > the [+-] cleanup makes sense to me.
Providing a function, especially in eutils, makes people think that it will work. It won't work, so the solution is to fix ebuilds and eclasses that are doing it and make sure people realise why they can't do that. -- Ciaran McCreesh


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