Gentoo Archives: gentoo-pms

From: Ulrich Mueller <ulm@g.o>
To: gentoo-pms@l.g.o
Subject: [gentoo-pms] eapi file in profiles
Date: Thu, 27 Aug 2015 14:37:57
Message-Id: 21983.8381.934945.711916@a1i15.kph.uni-mainz.de
1 Chapter 4 "Tree Layout" says:
2 https://projects.gentoo.org/pms/5/pms.html#x1-350004.4
3
4 The profiles directory may contain an eapi file. This file, if it
5 exists, must contain a single line with the name of an EAPI. This
6 specifies the EAPI to use when handling the profiles directory;
7 a package manager must not attempt to use any repository whose
8 profile directory requires an EAPI it does not support. If no eapi
9 file is present, EAPI 0 shall be used.
10
11 Also Chapter 5 "Profiles":
12 http://dev.gentoo.org/~ulm/pms/head/pms.html#x1-480005.2.2
13
14 A profile directory may contain an eapi file. This file, if it
15 exists, must contain a single line with the name of an EAPI. This
16 specifies the EAPI to use when handling the directory in question;
17 a package manager must not attempt to use any profile using a
18 directory which requires an EAPI it does not support. If no eapi
19 file is present, EAPI 0 shall be used. The EAPI is not inherited
20 via the parent file."
21
22 Does the "EAPI to use when handling the directory" apply to all
23 subdirectories recursively?
24
25 We should clarify the spec in one way or the other.
26
27 Ulrich

Replies

Subject Author
Re: [gentoo-pms] eapi file in profiles Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>