Merged from trunk 10393:10415
authorFabian Groffen <grobian@gentoo.org>
Sun, 25 May 2008 17:54:21 +0000 (17:54 -0000)
committerFabian Groffen <grobian@gentoo.org>
Sun, 25 May 2008 17:54:21 +0000 (17:54 -0000)
commitc21c594833473b75808c4e7f7d65d6c67f639db9
treed72feec53bc7a7d46f271ea404697effd750bbd8
parentfc078d3d83ac9cc2d9373fa15f82096150edb564
   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
pym/_emerge/__init__.py
pym/portage/__init__.py
pym/portage/dbapi/porttree.py
pym/portage/dep.py
pym/portage/sets/base.py
pym/portage/tests/__init__.py
pym/portage/tests/dep/test_dep_getusedeps.py
pym/portage/tests/dep/test_isvalidatom.py
pym/portage/versions.py