Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o
From: Michał Górny <mgorny@g.o>
Subject: Re: [PATCH eutils] Introduce has_iuse() for IUSE checks.
Date: Thu, 15 Sep 2011 09:23:37 +0200
On Wed, 14 Sep 2011 17:32:37 -0700
Brian Harring <ferringb@...> wrote:

> 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...

Is that actually useful? Isn't that just a waste of time serializing
all that data back, of which most isn't suitable for non-specialized
parsing?

If we really need to access ${IUSE}, I think we should go for something
IUSE-specific.

-- 
Best regards,
Michał Górny
Attachment:
signature.asc (PGP signature)
References:
[PATCH eutils] Introduce has_iuse() for IUSE checks.
-- Michał Górny
Re: [PATCH eutils] Introduce has_iuse() for IUSE checks.
-- Michał Górny
Re: [PATCH eutils] Introduce has_iuse() for IUSE checks.
-- Ciaran McCreesh
Re: [PATCH eutils] Introduce has_iuse() for IUSE checks.
-- Mike Frysinger
Re: [PATCH eutils] Introduce has_iuse() for IUSE checks.
-- Ciaran McCreesh
Re: [PATCH eutils] Introduce has_iuse() for IUSE checks.
-- Mike Frysinger
Re: [PATCH eutils] Introduce has_iuse() for IUSE checks.
-- Ciaran McCreesh
Re: [PATCH eutils] Introduce has_iuse() for IUSE checks.
-- Brian Harring
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: [PATCH eutils] Introduce has_iuse() for IUSE checks.
Next by thread:
Re: [PATCH eutils] Introduce has_iuse() for IUSE checks.
Previous by date:
Re: [PATCH eutils] Introduce has_iuse() for IUSE checks.
Next by date:
Re: [RFC] obs eclasses


Updated Jun 29, 2012

Summary: Archive of the gentoo-dev mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.