Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix isvalidatom() so tests pass, and add a USE deps case to the tests. | Zac Medico | 2008-05-25 | 1 | -11/+1 |
| | | | | | | (trunk r10399) svn path=/main/branches/2.1.2/; revision=10401 | ||||
* | Check vercmp() return value to avoid arbitrary results in case it returns None | Zac Medico | 2008-05-13 | 1 | -2/+4 |
| | | | | | | (trunk r10322) svn path=/main/branches/2.1.2/; revision=10323 | ||||
* | * Make pkgcmp() pass the ebuild revision directly into vercmp() since | Zac Medico | 2008-01-11 | 1 | -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. (trunk r9178) svn path=/main/branches/2.1.2/; revision=9182 | ||||
* | Make best() return early when it's only given one package. (trunk r7664) | Zac Medico | 2007-08-22 | 1 | -3/+3 |
| | | | | svn path=/main/branches/2.1.2/; revision=7668 | ||||
* | For bug #188449, since python floats have limited range, we multiply both ↵ | Zac Medico | 2007-08-15 | 1 | -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. (trunk r7606) svn path=/main/branches/2.1.2/; revision=7607 | ||||
* | Return copies of the cached values from pkgsplit and catpkgsplit. (trunk r6746) | Zac Medico | 2007-06-08 | 1 | -2/+2 |
| | | | | svn path=/main/branches/2.1.2/; revision=6763 | ||||
* | For bug #171259, fix vercmp so that implicit _p0 is less than explicit _p0. ↵ | Zac Medico | 2007-05-05 | 1 | -3/+5 |
| | | | | | | Thanks to TGL <degrenier@easyconnect.fr> for the patch. (trunk r6484:6485) svn path=/main/branches/2.1.2/; revision=6486 | ||||
* | more string deprecation | Alec Warner | 2007-01-12 | 1 | -7/+7 |
| | | | | svn path=/main/trunk/; revision=5595 | ||||
* | comment the excepts in a few places | Alec Warner | 2007-01-12 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=5584 | ||||
* | portage_versions.py, more string.atoi -> int, fix another except: that ↵ | Alec Warner | 2007-01-12 | 1 | -10/+10 |
| | | | | | | should be ValueError svn path=/main/trunk/; revision=5582 | ||||
* | Change vercmp to use int() instead of string atoi, catch ValueError in pkgcmp | Alec Warner | 2007-01-12 | 1 | -3/+3 |
| | | | | svn path=/main/trunk/; revision=5581 | ||||
* | Allow catpkgsplit to be less strict for atoms that come from installed ↵ | Zac Medico | 2007-01-11 | 1 | -1/+3 |
| | | | | | | packages (for backward compatibility). svn path=/main/trunk/; revision=5577 | ||||
* | Use a global to ensure that the valid_category regex is cached. | Zac Medico | 2007-01-11 | 1 | -2/+4 |
| | | | | svn path=/main/trunk/; revision=5574 | ||||
* | SpanKY likes the latin categories | Alec Warner | 2007-01-11 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=5573 | ||||
* | learn to spell | Alec Warner | 2007-01-11 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=5572 | ||||
* | Handle the exception in isvalidatom, change it to use a portage exceptoin, ↵ | Alec Warner | 2007-01-11 | 1 | -2/+3 |
| | | | | | | thanks to Zac for pointing this out svn path=/main/trunk/; revision=5571 | ||||
* | Fix comments for catpkgsplit | Alec Warner | 2007-01-11 | 1 | -1/+2 |
| | | | | svn path=/main/trunk/; revision=5570 | ||||
* | Valid categories in catpkgsplit | Alec Warner | 2007-01-11 | 1 | -1/+19 |
| | | | | svn path=/main/trunk/; revision=5568 | ||||
* | A quick docstring for vercmp | Alec Warner | 2006-12-07 | 1 | -1/+23 |
| | | | | svn path=/main/trunk/; revision=5210 | ||||
* | portage_versions lacks a header or copyright notice :x | Alec Warner | 2006-12-07 | 1 | -0/+6 |
| | | | | svn path=/main/trunk/; revision=5208 | ||||
* | For bug #152127, make vercmp give less value to implcit .0, so two versions ↵ | Zac Medico | 2006-12-07 | 1 | -2/+5 |
| | | | | | | that aren't literally equal are not ambiguously given the same value (in sorting, for example). svn path=/main/trunk/; revision=5205 | ||||
* | Move portage.best() to portage_versions. | Zac Medico | 2006-07-22 | 1 | -0/+14 |
| | | | | svn path=/main/trunk/; revision=3990 | ||||
* | Add a docstring with epytext markup to portage_versions.pkgcmp(). Thanks to ↵ | Zac Medico | 2006-07-17 | 1 | -0/+21 |
| | | | | | | chriswhite for this patch. svn path=/main/trunk/; revision=3913 | ||||
* | Move endversion and endversion_keys to portage_versions and import them for ↵ | Zac Medico | 2006-04-23 | 1 | -0/+2 |
| | | | | | | backward compatibility. svn path=/main/trunk/; revision=3202 | ||||
* | Backport of version code rewrite (bug 37406), should be completely backwards ↵ | Marius Mauch | 2005-11-13 | 1 | -0/+222 |
compatible (and the algorithm has been tested on the whole tree multiple times already). Also adds some new features in version syntax like cvs version prefixes (in the same package) and multiple suffixes. svn path=/main/trunk/; revision=2309 |