-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 23/03/12 12:32 PM, Ian Stakenvicius wrote: > On 23/03/12 12:19 PM, Ciaran McCreesh wrote: >> On Fri, 23 Mar 2012 12:14:39 -0400 Ian Stakenvicius >> <a...@gentoo.org> wrote: >>> I don't know if I follow this one or not. When inheriting an >>> eclass, all entities within the eclass get merged into the >>> ebuild. As long as there aren't any special conditional >>> tricks being used to assign to global variables like IUSE, it >>> would still be invariant wouldn't it? > >> The point is that the merging might be done inside the package >> manager (not in bash code) on the IUSE metadata variable, and >> the changes don't have to be reflected in the IUSE environment >> variable inside the ebuild. > > If that was the case, then eclasses could no longer append deps to > (R)DEPEND, either .....?
Err, nvm.. i think i'm following the difference now. functions like has_version and so forth don't actually work on the value(s) of *DEPEND themselves, so in the case of (R)DEPEND it wouldn't matter of the package manager didn't expose the merge. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) iF4EAREIAAYFAk9spp8ACgkQAJxUfCtlWe1a2wD/YsHDM1hYik+d46fJ90yckI/U OKr1ThK6hhJTbjmqGpgBAMekpXzx8NFIPerRPm037FgWQiCuUPDezAhmj8S73EPV =CNHZ -----END PGP SIGNATURE-----