Merged from trunk 10393:10415
| 10394 | For dep_expand() backward compatibility, handle atoms with |
| zmedico | missing '=' prefix which did not raise an error here before |
| | the portage.dep.Atom class was introduced. |
| 10395 | Fix broken dep_getusedeps() cache behavior so that it |
| zmedico | returns the correct type. |
| 10396 | Add support for conditionals inside USE dependencies. This |
| zmedico | 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] |
| 10398 | * Fix dep_getusedeps() test to work with tuples. * Add test |
| zmedico | cases for conditional USE deps. |
| 10399 | Fix isvalidatom() so tests pass, and add a USE deps case to |
| zmedico | the tests. |
| 10400 | Remove category validation cruft from catpkgsplit(). |
| zmedico | |
| 10410 | Remove redundant SLOT dep code in portdbapi.xmatch() since |
| zmedico | it's now handled by dbapi._iter_match(). |
| 10413 | Facilitate creation of Atom instances in a few obvious |
| zmedico | places: * PackageSet._setAtoms() * AtomArg and PackageArg |
| | constructors. |
| 10415 | * Fix PackageSet.findAtomForPackage() to take a Package |
| zmedico | instance as an argument. * Simplify |
| | PackageSet.findAtomForPackage() by implementing it on top of |
| | iterAtomsForPackage(). |
svn path=/main/branches/prefix/; revision=10418