Gentoo Archives: gentoo-dev

From: Thomas de Grenier de Latour <degrenier@×××××××××××.fr>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [GLEP] Use EAPI-suffixed ebuilds (.ebuild-EAPI)
Date: Mon, 17 Dec 2007 23:43:27
Message-Id: 20071218004005.0ae13054@eusebe
In Reply to: [gentoo-dev] [GLEP] Use EAPI-suffixed ebuilds (.ebuild-EAPI) by "Piotr Jaroszyński"
1 On 2007/12/17, Piotr Jaroszyński <peper@g.o> wrote:
2
3 > http://dev.gentoo.org/~peper/glep-0055.html
4
5 > * Possibility to extend the versioning rules in an EAPI, and to
6 > use them immediately in the Gentoo tree. For example, addition of
7 > the scm suffix - GLEP54 [1].
8 ...
9 > Currently ebuilds are recognised by the .ebuild file extension and
10 > hence EAPI-suffixed ebuilds are simply ignored by the package manager
11 > allowing their immediate usage in the Gentoo tree.
12
13 What about other places where some "cat/pkg-version" are used?
14
15 - deps: ok, no pb, i guess EAPI=X ebuilds are not allowed to have
16 dependencies on some "cat/pkg-version" whose "version" is in a syntax
17 introduced in a later EAPI. Could be made explicit though.
18
19 - metadata/cache: latest PMS i've found (2007/07/08 on dev.g.o/~spb)
20 says it contains some "<category>/<package>-<version>" files. If a
21 package manager assumes the "<version>" syntax is the one defined in
22 the said PMS, and you extend this syntax, don't your fear it will
23 trigger some bugs in said packages manager?
24
25 - /var/db/pkg: this one is not specified anywhere afaik, but here too,
26 putting some "<category>/<package>-<version>" with a new "<version>"
27 syntax may trigger weird some packages manager bugs. Which would
28 basically prevent forbid beetween several package managers which don't
29 support the same EAPI set, or simply downgrading your favorite one.
30
31 - profiles/*: how will the various files there ("packages", etc.) ever
32 be allowed to use some atoms which use an extended versioning syntax?
33
34 I'm not saying that the idea is bad though (i 100% agree it's useful),
35 but "*.ebuild-x" being ignored by current pkg managers is not enough
36 to conclude you can extend the versioning syntax without backward
37 compatibility issues.
38
39 --
40 TGL.
41 --
42 gentoo-dev@g.o mailing list

Replies

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