-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 20 Sep 2012 10:14:32 -0400
Ian Stakenvicius <a...@gentoo.org> wrote:
> And, for support to be official for ebuilds or eclasses to query IUSE
> (or other globals) within phase functions, then the 'spec' (PMS) is
> probably all that needs to be 'fixed'.  Right?

First someone would have to check very very carefully that it's now
supported everywhere, including when using binaries, when doing VDB
loading, etc. We'd also have to make sure we're not going to be hit by
bash changing the behaviour of 'source' again...

> So, in EAPI=6, we propose something that'll make it official (ie a
> querying function; or ensure that PMs can provide these variables
> along with their proper 'effective' values, or their in-ebuild
> 'explicit' values, or whatever it is we want to say can be relied
> upon, to the environment).

You'll have to be very very specific about where it will and won't
work. It definitely won't work everywhere in global scope, for example.

There's also the question of whether we effectively want to force
merging and normalising of variables to be done on the bash side, rather
than inside the package mangler.

- -- 
Ciaran McCreesh
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)

iEYEARECAAYFAlBbJ5IACgkQ96zL6DUtXhFA7wCcDnPCizqcqFImdkjSqcG599wU
PygAn2W/8qX9tjgQUYM1KXhcUeCnpCcK
=7kyg
-----END PGP SIGNATURE-----

Reply via email to