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: Petteri Räty <betelgeuse@g.o>
Subject: Re: EAPI placement
Date: Thu, 13 Dec 2007 18:16:34 +0200
Ciaran McCreesh kirjoitti:
> 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.
> 

Actually adding new global scope functions is possible with the help of
base/profile.bashrc . We can use that file to add stubs so that sourcing
the ebuild still works. The only restriction is that the new function
can't be used to evaluate the value of EAPI.

Regards,
Petteri

Attachment:
signature.asc (OpenPGP digital signature)
References:
EAPI placement
-- Doug Klima
Re: EAPI placement
-- Ciaran McCreesh
Re: EAPI placement
-- Santiago M. Mola
Re: EAPI placement
-- Ciaran McCreesh
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: Re: [gentoo-commits] gentoo-x86 commit in net-wireless/hostapd: ChangeLog hostapd-0.4.9.ebuild hostapd-0.6.1.ebuild hostapd-0.6.0.ebuild
Next by date:
Re: Re: How to pass list of paths to eclass?


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.