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: RFC: Place of EAPI variable in ebuild
Date: Sun, 11 Nov 2007 19:27:50 +0000
On Sun, 11 Nov 2007 21:21:30 +0200
Petteri Räty <betelgeuse@g.o> wrote:
> > Neither EAPI 0 nor EAPI 1 provide any mechanism for an ebuild to
> > 'die' at global scope. There's simply no way for eclasses to
> > complain that they're being misused.
> 
> Well nothing formal but the ebuild developer should pick up ewarn/echo
> /whatever messages coming from global scope. That's what we have in
> debug.eclass atm.

Past experience has shown that those messages will end up being seen by
end users and not being picked up by developers. People changing
eclasses generally don't force a metadata generation for every package
that uses the eclass.

I suspect that for existing eclasses, the safest way to proceed is to
make a new eclass and move common code into a third eclass. So you'd
have foo.eclass doing EAPI 0 specific stuff and inheriting foo-common,
and foo-eapi1.eclass doing EAPI 1 specific stuff and inheriting
foo-common.

-- 
Ciaran McCreesh
Attachment:
signature.asc (PGP signature)
Replies:
Re: RFC: Place of EAPI variable in ebuild
-- Carsten Lohrke
Re: RFC: Place of EAPI variable in ebuild
-- Fabian Groffen
References:
RFC: Place of EAPI variable in ebuild
-- Petteri Räty
Re: RFC: Place of EAPI variable in ebuild
-- Fabian Groffen
Re: RFC: Place of EAPI variable in ebuild
-- Petteri Räty
Re: RFC: Place of EAPI variable in ebuild
-- Ciaran McCreesh
Re: RFC: Place of EAPI variable in ebuild
-- Petteri Räty
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: RFC: Place of EAPI variable in ebuild
Next by thread:
Re: RFC: Place of EAPI variable in ebuild
Previous by date:
Re: RFC: Place of EAPI variable in ebuild
Next by date:
Re: Phase invariancy and exclusivity requirements


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.