Add support for conditionals inside USE dependencies. This is useful
authorZac Medico <zmedico@gentoo.org>
Sun, 25 May 2008 01:44:03 +0000 (01:44 -0000)
committerZac Medico <zmedico@gentoo.org>
Sun, 25 May 2008 01:44:03 +0000 (01:44 -0000)
commitcc7666a3162001ca4fb692dedbfd2ae8ae0b79f5
treefb14d862d8fdc9cd883ac8911a5da3c889102e8f
parent2c109703e505ac3d17e261f6fd16bb49f9dcb23c
Add support for conditionals inside USE dependencies. This is useful
for cases in which the package satisfying a dependency should have
identical or opposite flag state relative to the parent package.

Conditionals are evaluated as follows:

   parent state   conditional   result
     x              [x?]          [x]
    -x              [x?]         [-x]
     x             [-x?]         [-x]
    -x             [-x?]          [x]

svn path=/main/trunk/; revision=10396
pym/portage/__init__.py
pym/portage/dep.py