On 04/27/2012 12:57 PM, David Leverton wrote: > Zac Medico wrote: >> So, here's a description of the whole algorithm that I'd use: >> [snip] > > I think the following is equivalent, but simpler and more general since > it doesn't have to mention details like ** and friends that aren't > currently in PMS, and doesn't assume that the rule for handling KEYWORDS > is simply "does it contain at least one of the accepted values? (plus > handling of ** etc)". (For example, I can imagine something like > "accept the package if it has amd64, or if it has both ~amd64 and x86" > being potentially useful for some people, although I don't think it's > implemented anywhere at the moment.) > > 1) Pretend that all stable keywords in the package's KEYWORDS are > replaced with the corresponding ~arch ones > 2) If this would result in the package being masked by keywords (I > forget the exact terminology Portage uses, but I'm sure you know what I > mean), then apply the masks/forces from package.use.stable.*
Yeah, that appears to be equivalent. -- Thanks, Zac