Gentoo Archives: gentoo-dev

From: Brian Harring <ferringb@×××××.com>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH eutils] Introduce has_iuse() for IUSE checks.
Date: Thu, 15 Sep 2011 00:33:36
Message-Id: 20110915003237.GB16239@localhost
In Reply to: Re: [gentoo-dev] [PATCH eutils] Introduce has_iuse() for IUSE checks. by Ciaran McCreesh
On Thu, Sep 15, 2011 at 12:15:59AM +0100, Ciaran McCreesh wrote:
> On Wed, 14 Sep 2011 11:19:35 -0400 > Mike Frysinger <vapier@g.o> wrote: > > however, why wont this work sanely in src_* or pkg_* funcs ? the env > > there is the one constructed by the PM which includes the merged IUSE > > values. > > It's not. We deliberately don't specify that the PM passes fixed up > values for IUSE, DEPEND etc back into the ebuild, since Portage's > behaviour for global variables has varied considerably over the years.
That's not varied; the implementation for eclass/ebuild stacking has been pretty consistant for phase funcs. Either way, candidate for eapi5 if it's worth ensuring it's accessible to the phases... ~harring

Replies

Subject Author
Re: [gentoo-dev] [PATCH eutils] Introduce has_iuse() for IUSE checks. "Michał Górny" <mgorny@g.o>