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-pms
Navigation:
Lists: gentoo-pms: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-pms@g.o
From: Ulrich Mueller <ulm@g.o>
Subject: Re: EAPI specification in ebuilds
Date: Tue, 10 Apr 2012 23:19:18 +0200
>>>>> On Tue, 10 Apr 2012, Ciaran McCreesh wrote:

> On Tue, 10 Apr 2012 22:13:09 +0200
> Ulrich Mueller <ulm@g.o> wrote:
>> Anyway, what's the usage case for having the EAPI assignment after
>> the inherit command? Currently this is forbidden.

> It is? By the spec, or by QA policy? If it's just the latter, we can't
> rely upon people following it.

Policy. The devmanual says "if you want to override the EAPI variable,
you have to specify it at the top of the ebuild" and "eclasses may
have EAPI-conditional code".

> I think this whole thing goes away if you also require in the spec
> (i.e. PMS, not QA) that the EAPI assignment be done before anything
> else.

Agreed, that would be best. Now we only need a wording for "before
anything else" or "at the top of the ebuild" that is suitable for the
spec. ;-)

And if possible, it should be specified in a way that doesn't
invalidate ebuilds with harmless permutations like this:

   WANT_AUTOCONF="2.1"
   EAPI="3"

Ulrich


Replies:
Re: EAPI specification in ebuilds
-- Ciaran McCreesh
References:
EAPI specification in ebuilds
-- Ulrich Mueller
Re: EAPI specification in ebuilds
-- David Leverton
Re: EAPI specification in ebuilds
-- Ulrich Mueller
Re: EAPI specification in ebuilds
-- David Leverton
Re: EAPI specification in ebuilds
-- Ulrich Mueller
Re: EAPI specification in ebuilds
-- Ulrich Mueller
Re: EAPI specification in ebuilds
-- Ciaran McCreesh
Re: EAPI specification in ebuilds
-- Ulrich Mueller
Re: EAPI specification in ebuilds
-- Ciaran McCreesh
Navigation:
Lists: gentoo-pms: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: EAPI specification in ebuilds
Next by thread:
Re: EAPI specification in ebuilds
Previous by date:
Re: EAPI specification in ebuilds
Next by date:
Re: EAPI specification in ebuilds


Updated Jul 18, 2012

Summary: Archive of the gentoo-pms mailing list.

Donate to support our development efforts.

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