Gentoo Archives: gentoo-dev

From: Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] New eclass: oasis.eclass for oasis-based ocaml packages.
Date: Fri, 23 Mar 2012 16:21:14
Message-Id: 20120323161904.118b3c0e@googlemail.com
In Reply to: Re: [gentoo-dev] New eclass: oasis.eclass for oasis-based ocaml packages. by Ian Stakenvicius
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 On Fri, 23 Mar 2012 12:14:39 -0400
5 Ian Stakenvicius <axs@g.o> wrote:
6 > I don't know if I follow this one or not. When inheriting an eclass,
7 > all entities within the eclass get merged into the ebuild. As long as
8 > there aren't any special conditional tricks being used to assign to
9 > global variables like IUSE, it would still be invariant wouldn't it?
10
11 The point is that the merging might be done inside the package manager
12 (not in bash code) on the IUSE metadata variable, and the changes don't
13 have to be reflected in the IUSE environment variable inside the ebuild.
14
15 > I think 'any point in the build sequence' is still
16 > post-eclass-inheritance isn't it?
17
18 Nope. It's also at any point during the sourcing of any of the files.
19
20 - --
21 Ciaran McCreesh
22 -----BEGIN PGP SIGNATURE-----
23 Version: GnuPG v2.0.18 (GNU/Linux)
24
25 iEYEARECAAYFAk9sonsACgkQ96zL6DUtXhEtFgCgyT/pUwKQIaLE8e28U8P0uS3x
26 HF8An1frYjZvoNYSC2/Qs1eNzqdlgVzT
27 =Kj+k
28 -----END PGP SIGNATURE-----

Replies