Gentoo Archives: gentoo-dev

From: Joshua Kinard <kumba@g.o>
To: gentoo-dev@l.g.o, Mart Raudsepp <leio@g.o>
Subject: Re: [gentoo-dev] About the 'eapi' file in profile directories
Date: Sun, 01 Aug 2021 19:19:18
Message-Id: ec6fc627-846f-1b4e-d620-e45821d9b292@gentoo.org
In Reply to: Re: [gentoo-dev] About the 'eapi' file in profile directories by Mart Raudsepp
1 On 8/1/2021 08:19, Mart Raudsepp wrote:
2 > Ühel kenal päeval, P, 01.08.2021 kell 00:58, kirjutas Joshua Kinard:
3 >> numeric value of the supported EAPI
4 >
5 > EAPI isn't a numeric value, it is a string (section 3.1.8) - it just
6 > happens that Gentoo official ones are logically numeric. PMS even
7 > quotes the EAPIs in "2.2 Defined EAPIs" section to signify that, it
8 > seems.
9 >
10 > So s/numeric value/name/ as per PMS section 5.2.2?
11 >
12 >
13 > Mart
14
15 I used "numeric" so that someone would know to type "5" without quotes,
16 since the file is literally only supposed to have a single character in it.
17 It's more or less irrelevant whether its a string or integer at this point.
18 Just one way to differentiate them is strings are usually quoted while raw
19 integers are not.
20
21 --
22 Joshua Kinard
23 Gentoo/MIPS
24 kumba@g.o
25 rsa6144/5C63F4E3F5C6C943 2015-04-27
26 177C 1972 1FB8 F254 BAD0 3E72 5C63 F4E3 F5C6 C943
27
28 "The past tempts us, the present confuses us, the future frightens us. And
29 our lives slip away, moment by moment, lost in that vast, terrible in-between."
30
31 --Emperor Turhan, Centauri Republic