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: Michał Górny <mgorny@g.o>
From: Ciaran McCreesh <ciaran.mccreesh@...>
Subject: Re: [PATCH eutils] Introduce has_iuse() for IUSE checks.
Date: Tue, 13 Sep 2011 11:46:33 +0100
On Tue, 13 Sep 2011 12:50:30 +0200
Michał Górny <mgorny@g.o> wrote:
> > 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.

You don't do it by checking IUSE. You do it by having the ebuild define
a variable like WANT_MONKEY_SUPPORT.

-- 
Ciaran McCreesh
Attachment:
signature.asc (PGP signature)
Replies:
Re: [PATCH eutils] Introduce has_iuse() for IUSE checks.
-- Mike Frysinger
References:
[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.
-- Michał Górny
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: [PATCH eutils] Introduce has_iuse() for IUSE checks.


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.