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: Ciaran McCreesh <ciaran.mccreesh@...>
Subject: Re: EAPI placement
Date: Wed, 12 Dec 2007 14:20:19 +0000
On Wed, 12 Dec 2007 15:08:36 +0100
"Santiago M. Mola" <coldwind@g.o> wrote:
> Would it be possible to have eclass/eapiBLAH/foo.eclass?

No. Not even with an EAPI change. This is one of the deficiencies in
the way EAPI was designed -- an EAPI cannot change the behaviour of
inherit, nor can it introduce new global-scope functions.

The .ebuild-eapi proposal didn't have this problem, but unfortunately it
was rejected for political reasons...

> > * Eclasses cannot be made not to work with any given EAPI. If such
> > functionality is desirable, someone needs to file an EAPI request
> > for permitting an alternative to 'die' that is legal in global
> > scope.
> 
> So is it desirable?
> 
> If portage masks ebuilds with an unsupported EAPI, what's the point?
> It'd be enough to be able to check EAPI compatibility in eclasses
> quickly so repoman and others can print a nice error.

The problem is that people change eclasses and don't check every single
package that uses them. Find a solution for that problem and then
eclasses supporting only a subset of EAPIs becomes feasible.

-- 
Ciaran McCreesh
Attachment:
signature.asc (PGP signature)
Replies:
Re: EAPI placement
-- Petteri Räty
Re: EAPI placement
-- Piotr Jaroszyński
References:
EAPI placement
-- Doug Klima
Re: EAPI placement
-- Ciaran McCreesh
Re: EAPI placement
-- Santiago M. Mola
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: EAPI placement
Next by thread:
Re: EAPI placement
Previous by date:
Re: EAPI placement
Next by date:
Re: EAPI placement


Updated Jun 17, 2009

Summary: Archive of the gentoo-dev mailing list.

Donate to support our development efforts.

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