On Wed, Mar 31, 2010 at 02:20:35AM -0700, Brian Harring wrote: > Hola all- > > For those who aren't familiar, pkg_pretend is in EAPI4- the main usage > of it is will be use dep checking- this email is specifically > regarding an alternative to it that *should* be superior for that use > case, but I'm looking for feedback. > > Basically, we use the original VALID_USE proposal from way back in > '05- if you're familiar w/ MYOPTIONS, they're reasonably similar. > > Roughly, VALID_USE is a list of constraints stating what the allowed > use flag combinations are for this pkg. If you think of normal > depdencies (I must have openssl and python merged prior), it's the > same machinery. > > [snip] > > Comments desired; assuming no significant blowback, I'll be pushing > this to the council level since eapi4 is annoying feature locked right > now.
I like the whole concept, it is clean and straightforward. Also, notifying the user of any possible issues and breaking so he can make the actual decision sounds far better than making the choice for him. VALID_USE does look a bit strange. how about IUSE_RULES or IUSE_RESTRICTIOMS or RUSE ? -- Alex Alexander :: wired Gentoo Developer www.linuxized.com
pgpYxpiVZQG04.pgp
Description: PGP signature