Gentoo Archives: gentoo-dev

From: Bernd Steinhauser <gentoo@×××××××××××××××××.de>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] FYI clarifications to skel.ebuild EAPI usage
Date: Fri, 14 Mar 2008 09:34:42
Message-Id: 47DA468B.5050304@bernd-steinhauser.de
In Reply to: [gentoo-dev] FYI clarifications to skel.ebuild EAPI usage by "Petteri Räty"
1 Petteri Räty schrieb:
2 > solar reported that he had ebuild submissions blindly using EAPI=1 so
3 > we hopefully made the text better reflect that it should not be used
4 > unless absolutely needed.
5 >
6 > Regards,
7 > Petteri
8 > # Eclasses will test for this variable if they need to use EAPI > 0 features.
9 > -# Ebuilds should not define EAPI=1 unless they need to use features added
10 > -# in that version.
11 > -#EAPI=1
12 > +# Ebuilds should not define EAPI > 0 unless they absolutely need to use
13 > +# features added in that version.
14 > +#EAPI=0
15 This is misleading. You should not use the term "EAPI > 0" here, because
16 ebuild
17 writers will think, that the variable can be tested this way, which is
18 wrong.
19 Although for ebuilds this isn't really important, it still is wrong. ;)
20
21 Bernd
22 --
23 gentoo-dev@l.g.o mailing list