-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 02/09/2016 07:08 PM, Gordon Pettey wrote:
> 
> On Tue, Feb 9, 2016 at 7:19 AM, Kent Fredric
> <kentfred...@gmail.com <mailto:kentfred...@gmail.com>> wrote:
> 
> On 10 February 2016 at 02:14, Daniel Campbell <z...@gentoo.org 
> <mailto:z...@gentoo.org>> wrote:
>> Another concern, though, is it'd result in something similar.
>> Instead of "cat/foo bar baz" and later removing 'baz', you'd have
>> "cat/foo bar ~baz" (with '~baz' as 'enable this if you need to').
>> You'd still have cruft left in your p.use file, and it would
>> achieve the same result as a well-commented file.
> 
> 
> Granted you'd still have the cruft in your config files, but it
> would become mostly-harmless cruft, not cruft that caused needless 
> dependencies to get pulled into the dependency tree as a
> side-effect.
> 
> And because it would be "only as needed", you could afford to use
> some of those "only if needed" useflags in a more global manner.
> 
> For instance, I really don't want to globally define PYTHON_TARGETS
> to include python2_7, because it will simply install a lot of
> extra things I know I don't need.
> 
> But if I could globally define something to the effect of
> "anything that wants python2.7 support can have it", then that's
> acceptable globally, because the effect would still turn things on
> automatically on a per-page level, not at a global level.
> 
> So you could achieve the same results with much less syntax and
> much less effort.
> 
> 
> A distinct behavior for +USE (as opposed to -USE and USE) would
> fit better than "~USE" IMHO, where the plus means "add if (and only
> if) required" and would cascade through dependencies, so if I merge
> e.g. app-portage/pfl with USE="+PYTHON_TARGETS_PYTHON2_7" it would
> apply that to dependencies as required. ~USE might fit for
> something like "~PYTHON_TARGETS_PYTHON3", where it would select the
> greatest flag matching that prefix, and would therefore
> automatically keep packages that have 3_2, 3_3, 3_4, 3_5 using
> whatever is the latest unmasked flag. Could potentially combine the
> prefixes, e.g. "~+PYTHON_TARGETS_PYTHON3" to both select the
> greatest python version AND cascade to dependencies.

The ~ was just a spitballed idea. It's really not important *what* the
symbol is, it's just that one would be required.

- -- 
Daniel Campbell - Gentoo Developer
OpenPGP Key: 0x1EA055D6 @ hkp://keys.gnupg.net
fpr: AE03 9064 AE00 053C 270C  1DE4 6F7A 9091 1EA0 55D6
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJWuq6mAAoJEAEkDpRQOeFwiGsQANMRonEdPVxs5wgG2XFB3bMf
+jTirnBZX0fH4wwaWy7eN5n1oaivepcup7XjUkiXuoqdyZmvZrb1ttwU/vrjaDZn
82rpP+7s9gNqSphifhGcf/EHTZo49VMZUEOBNElj0YtbEa3bcjG/vCpCgxnPuhVr
7LxuTtT0pDZd1mqMBLi+g5XYmDSfls2T2PWO3formcPYs5B3Xf4Dkc2jWEl7mEsB
neDtxkQoXkkuHX3y3uCwXb0KbGKEMenIA+1XiPP9P7nDSaagW+V0DXUWP5aCjTxB
csgiOrOdLEO1305eOkk7kxxoZIRoEgvtlSIA5G0R38+23A0Nwo/F0KV3hMjyBcbi
S6QuMrvwCgWiUIjgzd0zbI1+81EaHErn5zb6asdj78SaC5nzIbmRdw/zI+s4RIm0
8rw6RBsnDsP4Iah/kJHqMBdtDA7my7ImWKkKuWtAfeJfrYheDMb/NwMfl2L7/hIY
jKa0YuZ8P0TnU5xROFlIyXUILXMK/be5KA7RSQe16UMNGLsJLJ/5KBv2KQbJ2fqX
DBQG/780jZBNRAVFRimJ4v1S6g/+BJixN6ajZBe2tBjCV70ina7uL5H1K7cenvE5
0U2M0yl/K9QmEOJQoaR2iwTQL4fbRyr1ntbvlHWwE82rMKdQO2FwJxBj2yhEWELh
CAlwuL8k7LaFGVoQhQhb
=mkla
-----END PGP SIGNATURE-----

Reply via email to