1 |
On 18-12-2007 10:03:56 +0000, Ciaran McCreesh wrote: |
2 |
> > However, because "features" need not to include previous ones (why |
3 |
> > would they?), in the Prefix branch of Portage I implemented EAPI to |
4 |
> > be a space separated list. I merely did this because EAPI=1 ebuilds |
5 |
> > needed to be tagged as such in an EAPI="prefix" ebuild, and the |
6 |
> > features EAPI="prefix" adds are ortogonal on the features EAPI=0 or |
7 |
> > EAPI=1 ... provides. As a result I now have EAPI="prefix 1" ebuilds. |
8 |
> > |
9 |
> > Since you seem to argue here that EAPIs are not orderable, I get the |
10 |
> > impression you imply these "combinations" of EAPIs to be desirable. |
11 |
> > In that case, what would the extension of the ebuild be like? |
12 |
> |
13 |
> Combinations of features and rules is desirable. An EAPI can be thought |
14 |
> of as a collection of said features and rules (and that's how EAPIs are |
15 |
> worded in PMS, and largely how they're implemented in Paludis). But |
16 |
> developers shouldn't really be picking and choosing at that level |
17 |
> themselves -- adding new EAPIs that merely add one thing to a previous |
18 |
> EAPI (as 1 did to 0) is cheap. |
19 |
|
20 |
Just to have it spelt out, what you suggest here is that EAPI has a |
21 |
single value, a word or a number, that refers to a set of "features and |
22 |
rules", if I understand correctly. |
23 |
|
24 |
With this way of using EAPI I fail to see why EAPIs aren't orderable. |
25 |
Even with the example you gave in the previous mail, it looks like a |
26 |
perfect succession of EAPIs. |
27 |
|
28 |
However, I realise that this discussion is stricktly said off-topic for |
29 |
the GLEP at hand, as this stuff hasn't been dealt with in the main tree |
30 |
(yet). In the end I guess it's a matter of opening up a new can of |
31 |
worms, or trying to keep it simple and see how far you'll get with it. |
32 |
|
33 |
|
34 |
-- |
35 |
Fabian Groffen |
36 |
Gentoo on a different level |
37 |
-- |
38 |
gentoo-dev@g.o mailing list |