Gentoo Archives: gentoo-dev

From: Roy Marples <roy@×××××××.name>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: Re: [GLEP] Use EAPI-suffixed ebuilds (.ebuild-EAPI) [2]
Date: Tue, 25 Dec 2007 07:41:19
Message-Id: 1198568298.2870.6.camel@uberpc.marples.name
In Reply to: Re: [gentoo-dev] Re: Re: [GLEP] Use EAPI-suffixed ebuilds (.ebuild-EAPI) [2] by Ciaran McCreesh
1 On Tue, 2007-12-25 at 02:26 -0500, Ciaran McCreesh wrote:
2 > On Dec 24, 2007 7:53 AM, Roy Marples <roy@×××××××.name> wrote:
3 > > So to obtain EAPI from .ebuild you would always do
4 > > EAPI=`. /path/to/ebuild.ebuild; echo "${EAPI}"`
5 >
6 > Doesn't work with current ebuilds, nor future ebuilds. No points!
7
8 Works fine as long as the functions the ebuild has in global scope
9 exist. Which would assuming that the ebuild was sourced in a portage
10 environment.
11
12 Thanks
13
14 Roy
15
16 --
17 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] Re: Re: [GLEP] Use EAPI-suffixed ebuilds (.ebuild-EAPI) [2] Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>