Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: ciaran.mccreesh@××××××××××.com
Subject: Re: [gentoo-dev] [PATCH eutils] Introduce has_iuse() for IUSE checks.
Date: Tue, 13 Sep 2011 10:49:09
Message-Id: 20110913125030.5031aee6@pomiocik.lan
In Reply to: Re: [gentoo-dev] [PATCH eutils] Introduce has_iuse() for IUSE checks. by Ciaran McCreesh
On Tue, 13 Sep 2011 11:32:40 +0100
Ciaran McCreesh <ciaran.mccreesh@××××××××××.com> wrote:

> On Tue, 13 Sep 2011 12:21:31 +0200 > Michał Górny <mgorny@g.o> wrote: > > Such checks are used at least in autotools-utils & kde* eclasses, > > and are done wrong there. Thus, I've created a little reusable > > snippet suitable for eutils. > > Are you sure this is defined behaviour? IUSE is a fancy merged > variable for eclasses, and I don't think we guarantee that the value > visible to the ebuild at any particular point is the generated value > used by the package mangler.
True. I guess there's no way to tell whether a particular IUSE is defined in the ebuild then? Hrm, I guess we'll need to break API compat (and a number of ebuilds then) to get rid of this. -- Best regards, Michał Górny

Attachments

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

Replies

Subject Author
Re: [gentoo-dev] [PATCH eutils] Introduce has_iuse() for IUSE checks. Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>