-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 22/06/12 12:48 AM, Zac Medico wrote: > On 06/21/2012 02:32 PM, David Leverton wrote: >> Michał Górny wrote: >>> But in the current form, the spec doesn't allow passing >>> IUSE_RUNTIME flags to has_version() so we're on the safe side >>> :P. >> >> True. Do we want to keep it that restrictive? > > Shouldn't has_version allow any atom that would be allowed in > *DEPEND?
Technically it could, but the issue here would be what you are going to do with a has_version check on an IUSE_RUNTIME dep -- the package should do filesystem-identical installs no matter what status of IUSE_RUNTIME flags, so whatever one would do with a has_version check would have to not change any part of the build or installation. I could see it being of use within pkg_configure(), though; ie, emerge - --config pkg should then be able to reliably set up default configs based on the runtime installs. However, that's the only place I can picture it being viable. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) iF4EAREIAAYFAk/kdmIACgkQ2ugaI38ACPBtsQEAs1Ak9JQnDFt4XuG/4ZfYGfH2 u92QpchtCGHhYbERx1wA/3AyghQuEv8WZ2iIfXoW9zWnelutj5fdqF4adSjMwf9x =0XPN -----END PGP SIGNATURE-----