Gentoo Archives: gentoo-dev

From: Luca Barbato <lu_zero@g.o>
To: gentoo-dev@l.g.o
Subject: EAPI definition Was: [gentoo-dev] [GLEP] Use EAPI-suffixed ebuilds (.ebuild-EAPI)
Date: Thu, 20 Dec 2007 02:38:40
Message-Id: 4769D3F2.1030204@gentoo.org
In Reply to: Re: [gentoo-dev] [GLEP] Use EAPI-suffixed ebuilds (.ebuild-EAPI) by Donnie Berkholz
1 Donnie Berkholz wrote:
2 > On 23:20 Mon 17 Dec , Piotr Jaroszyński wrote:
3 >> Abstract
4 >> ========
5 >>
6 >> This GLEP proposes usage of EAPI-suffixed file extensions for ebuilds (for
7 >> example, foo-1.2.3.ebuild-1).
8 >>
9 >> Motivation
10 >> ==========
11 >>
12 >> Including EAPI in the ebuild file extension has the following advantages:
13 >>
14 >> * Possibility to extend the versioning rules in an EAPI, and to use them
15 >> immediately in the Gentoo tree. For example, addition of the scm suffix -
16 >> GLEP54 [#GLEP54]_.
17 >>
18 >> * Possibility to extend the behaviour of inherit and add new global scope
19 >> functions (as a result of not sourcing ebuilds with unsupported EAPI).
20 >
21 > Here's some other ideas for how to express EAPI. What if we:
22 >
23 > Used EAPI-named subdirectories instead of tagging it into the filename?
24 >
25 > Used (and required) filesystem extended attributes?
26 >
27 > Stuck ranges into metadata.xml for which EAPIs applied?
28
29 Before spending even more time on it, could we try to come up with a
30 definition of what eapi is, which problem is trying to solve and put
31 that somewhere that isn't a long thread or an handful of threads
32 scattered across mailing lists.
33
34 Then we could think about this implementation detail if the best
35 implementation for it is really sticking tags somewhere in the ebuild.
36
37 lu
38
39 --
40
41 Luca Barbato
42 Gentoo Council Member
43 Gentoo/linux Gentoo/PPC
44 http://dev.gentoo.org/~lu_zero
45
46 --
47 gentoo-dev@g.o mailing list

Replies