summaryrefslogtreecommitdiffstats
path: root/pym/portage/versions.py
Commit message (Collapse)AuthorAgeFilesLines
...
* * Make pkgcmp() pass the ebuild revision directly into vercmp() sinceZac Medico2008-01-111-7/+1
| | | | | | | | | | there is code there to handle it already. This eliminates some redundant revision comparison code. Thanks to peper for the patch. * Add some vercmp() test cases for comparison of ebuild revisions. svn path=/main/trunk/; revision=9178
* Make best() return early when it's only given one packages.Zac Medico2007-08-221-3/+3
| | | | svn path=/main/trunk/; revision=7664
* For bug #188449, since python floats have limited range, we multiply both ↵Zac Medico2007-08-151-2/+11
| | | | | | floating point representations by a constant so that they are transformed into whole numbers. This allows the practically infinite range of a python int to be exploited. The multiplication is done by padding both literal strings with zeros as necessary to ensure equal length. svn path=/main/trunk/; revision=7606
* Make pkgsplit and catpkgsplit return imutable tuples instead of mutable ↵Zac Medico2007-06-071-5/+6
| | | | | | lists so that cached values can be safely returned without cloning them first. Thanks to Brian Harring for the suggestion. svn path=/main/trunk/; revision=6749
* Return copies of the cached values from pkgsplit and catpkgsplit.Zac Medico2007-06-061-2/+2
| | | | svn path=/main/trunk/; revision=6746
* For bug #171259, fix vercmp so that implicit _p0 is less than explicit _p0. ↵Zac Medico2007-05-051-3/+5
| | | | | | Thanks to TGL <degrenier@easyconnect.fr> for the patch. svn path=/main/trunk/; revision=6485
* remove category regex, dumb idea, sorry I did itAlec Warner2007-03-031-6/+0
| | | | svn path=/main/trunk/; revision=6138
* Namespace sanitizing, step 3Marius Mauch2007-01-251-1/+1
| | | | svn path=/main/trunk/; revision=5782
* Namespace sanitizing, step 2Marius Mauch2007-01-251-9/+9
| | | | | | | Rename portage.exec to portage.process to avoid syntax errors svn path=/main/trunk/; revision=5780
* Namespace sanitizing, step 1Marius Mauch2007-01-251-0/+314
svn path=/main/trunk/; revision=5778