Nick Jones wrote:
I think I'll just stick with what I know. For now, I'm just doing 'emerge info | grep USE' to get a complete list of USE flags. As for the DEPEND line, I'm using a regex to extract each item, although its not going too well.

You can't do it that way. Portage does a lot of calculations based on things like virtuals, inherited-values, and eclasses. USE flags also have the potential to change during dep calculation due to binary package restrictions and eventually USE requirements as well.

The way you're getting USE is ok for single packages.

The DEPEND info isn't right. DEPEND, RDEPEND, and PDEPEND all can vary
inside of an eclass, and depending upon if they are unset, empty, or
set, they can affect the final output.

I'm just going to pretend I didn't hear any of that :) Something I'm curious about: what is the difference between the different *DEPEND lines?


--
Andrew Gaffney


-- [EMAIL PROTECTED] mailing list



Reply via email to