Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | portage.dep.use_reduce: Better validation of use flags in use conditionals | Sebastian Luther | 2010-08-16 | 1 | -1/+1 | |
| | | | | | use_reduce now uses either a regex or, if provided, a is_valid_flag function to validate use flags | |||||
* | Make DoebuildSpawnTestCase instantiate a minimal Package instance, and | Zac Medico | 2010-08-15 | 1 | -1/+1 | |
| | | | | fix code to tolerate missing metadata values in various places. | |||||
* | portage.dep: Integrate the functionality of flatten into use_reduce | Sebastian Luther | 2010-08-14 | 1 | -2/+2 | |
| | ||||||
* | Implement use dependency defaults | Sebastian Luther | 2010-08-13 | 1 | -1/+1 | |
| | ||||||
* | Make sure we don't allow REQUIRED_USE in EAPIs that don't support it | Sebastian Luther | 2010-08-11 | 1 | -1/+5 | |
| | ||||||
* | Make sure we don't allow IUSE defaults in EAPIs that don't allow them | Sebastian Luther | 2010-08-11 | 1 | -0/+5 | |
| | ||||||
* | portage.dep.use_reduce: Work on depstrings instead of paren_reduce'd dep arrays | Sebastian Luther | 2010-08-10 | 1 | -6/+5 | |
| | | | | | This change makes paren_reduce and paren_normalize calls for use_reduce redundant, resp. wrong. All consumers inside portage are adopted. | |||||
* | Add REQUIRED_USE to metadata keys, caches, etc. | Sebastian Luther | 2010-08-10 | 1 | -1/+1 | |
| | ||||||
* | Add special handling for updates of Package.metadata['USE'], so that | Zac Medico | 2010-06-01 | 1 | -3/+15 | |
| | | | | internal state is consistent. | |||||
* | Add a Package.copy() method. | Zac Medico | 2010-06-01 | 1 | -2/+9 | |
| | ||||||
* | Make depgraph._serialize_tasks show a debug message when it | Zac Medico | 2010-05-30 | 1 | -4/+2 | |
| | | | | | enables 'complete' mode due to an uninstall, and fix the Package.__str__ method to display uninstall tasks properly. | |||||
* | Add _emerge.Package.iuse.get_missing_iuse to return missing IUSE flags. ↵ | Sebastian Luther | 2010-05-25 | 1 | -0/+13 | |
| | | | | Restore original behavior of is_valid_flag. | |||||
* | _emerge.Package.iuse.is_valid_flags should return a list of flags missing ↵ | Sebastian Luther | 2010-05-25 | 1 | -2/+3 | |
| | | | | from IUSE | |||||
* | Allow _emerge.Package.iuse.is_valid_flag() to take a list of flags | Sebastian Luther | 2010-05-25 | 1 | -4/+9 | |
| | ||||||
* | _emerge.Package.__str__(): handle operation==uninstall | Sebastian Luther | 2010-05-21 | 1 | -0/+6 | |
| | ||||||
* | Add _emerge.Package.__str__() for nicer output formatting | Sebastian Luther | 2010-05-20 | 1 | -0/+28 | |
| | ||||||
* | Add a Package.iuse.is_valid_flag() method to replace the regex attribute, | Zac Medico | 2010-04-27 | 1 | -20/+9 | |
| | | | | in order to avoid compiling regex for each Package instance. | |||||
* | Add DEFINED_PHASES to the dbapi caches and _emerge.Package.metadata | Sebastian Luther | 2010-03-30 | 1 | -1/+6 | |
| | ||||||
* | Remove all svn $Id keywords. | Zac Medico | 2010-03-24 | 1 | -1/+0 | |
| | ||||||
* | Use isvalidatom to validate PROVIDE entries. | Zac Medico | 2010-02-19 | 1 | -2/+8 | |
| | | | | svn path=/main/trunk/; revision=15397 | |||||
* | Cache BUILD_TIME in Package.metadata. | Zac Medico | 2010-02-15 | 1 | -1/+1 | |
| | | | | svn path=/main/trunk/; revision=15359 | |||||
* | Optimized the code for bug #288083 and make it handle more cases. Now Packagev2.2_rc51 | Zac Medico | 2009-11-21 | 1 | -2/+79 | |
| | | | | | | | instances have 'visible' and 'masks' attributes, since this information needs to be accessed in more places now. svn path=/main/trunk/; revision=14859 | |||||
* | Bug #292820 - Make the Package constructor handle invalid SLOT values. | Zac Medico | 2009-11-12 | 1 | -2/+4 | |
| | | | | svn path=/main/trunk/; revision=14819 | |||||
* | Fix SyntaxError with Python 3 added in r14462. | Arfrever Frehtes Taifersar Arahesis | 2009-09-29 | 1 | -1/+1 | |
| | | | | svn path=/main/trunk/; revision=14465 | |||||
* | Revert the rest of r14280 since it seems that dict bypasses __getitem__ | Zac Medico | 2009-09-29 | 1 | -26/+7 | |
| | | | | | | and/or __setitem__ too often. svn path=/main/trunk/; revision=14463 | |||||
* | Add back _PackageMetadataWrapper__setitem__, removed in r14280, since removing | Zac Medico | 2009-09-29 | 1 | -30/+64 | |
| | | | | | | | | it seems to cause problems. Thanks to Jeremy Olexa <darkside@gentoo.org> for reporting, and Marat Radchenko <marat@slonopotamus.org> for bisecting to find the revision. svn path=/main/trunk/; revision=14462 | |||||
* | Bug #285979 - Replace references to CDEPEND with UNUSED_00, to make it clear | Zac Medico | 2009-09-23 | 1 | -1/+0 | |
| | | | | | | that this key really is unused. svn path=/main/trunk/; revision=14393 | |||||
* | Define long as int when Python 3 is used. | Arfrever Frehtes Taifersar Arahesis | 2009-09-21 | 1 | -0/+1 | |
| | | | | svn path=/main/trunk/; revision=14343 | |||||
* | Use dict.(keys|values|items)() instead of ↵ | Arfrever Frehtes Taifersar Arahesis | 2009-09-21 | 1 | -1/+1 | |
| | | | | | | | | dict.(iterkeys|itervalues|iteritems)() for compatibility with Python 3. (2to3-3.1 -f dict -nw ${FILES}) svn path=/main/trunk/; revision=14327 | |||||
* | Define basestring as str when Python 3 is used. | Arfrever Frehtes Taifersar Arahesis | 2009-09-21 | 1 | -0/+4 | |
| | | | | svn path=/main/trunk/; revision=14316 | |||||
* | Update syntax of 'except' statements for compatibility with Python 3. | Arfrever Frehtes Taifersar Arahesis | 2009-09-20 | 1 | -1/+1 | |
| | | | | | | (2to3-3.1 -f except -nw ${FILES}) svn path=/main/trunk/; revision=14289 | |||||
* | Use a dict for Package.metadata, because it's faster. Thanks to Marat | Zac Medico | 2009-09-19 | 1 | -49/+33 | |
| | | | | | | Radchenko <marat@slonopotamus.org> for this patch from bug #276813. svn path=/main/trunk/; revision=14280 | |||||
* | Update imports to import portage.os (with unicode wrappers), and use | Zac Medico | 2009-08-11 | 1 | -9/+1 | |
| | | | | | | _unicode_encode() and _unicode_decode() where appropriate. svn path=/main/trunk/; revision=13994 | |||||
* | Use Package.invalid to generate *.syntax repoman errors for LICENSE, | Zac Medico | 2009-06-28 | 1 | -7/+3 | |
| | | | | | | PROPERTIES, PROVIDE, and RESTRICT. svn path=/main/trunk/; revision=13728 | |||||
* | Make Package.invalid suitable for use by repoman. | Zac Medico | 2009-06-28 | 1 | -4/+8 | |
| | | | | svn path=/main/trunk/; revision=13726 | |||||
* | Fix PROVIDE code since the Package class automatically evaluates USE | Zac Medico | 2009-06-26 | 1 | -2/+6 | |
| | | | | | | conditionals now. svn path=/main/trunk/; revision=13702 | |||||
* | Use @property instead of __getattribute__ to implement lazy Package.iuse.regex | Zac Medico | 2009-06-25 | 1 | -15/+20 | |
| | | | | | | initialization. svn path=/main/trunk/; revision=13696 | |||||
* | Add a Package.metadata.restrict attribute containing a list of enabled | Zac Medico | 2009-06-25 | 1 | -0/+4 | |
| | | | | | | RESTRICT values. svn path=/main/trunk/; revision=13693 | |||||
* | Add a Package.metadata.properties attribute containing a list of enabled | Zac Medico | 2009-06-25 | 1 | -0/+4 | |
| | | | | | | PROPERTIES values. svn path=/main/trunk/; revision=13692 | |||||
* | * Add a Package.invalid attribute to store messages about invalid LICENSE, | Zac Medico | 2009-06-25 | 1 | -5/+23 | |
| | | | | | | | | PROPERTIES, PROVIDE, and RESTRICT metadata. Use it to mask invalid packages when necessary. * Evaluate USE conditional values in Package.metadata when the are accessed. svn path=/main/trunk/; revision=13691 | |||||
* | Add/update copyright headers. | Zac Medico | 2009-06-25 | 1 | -0/+4 | |
| | | | | svn path=/main/trunk/; revision=13690 | |||||
* | * Make Package.metadata['USE'] access trigger USE calculation for unbuilt | Zac Medico | 2009-06-25 | 1 | -7/+39 | |
| | | | | | | | | | | ebuilds. * Make Package.metadata['LICENSE'] access trigger USE conditional evaluation. * Make Package.metadata['PROVIDE'] access trigger USE conditional evaluation. * Initialize Package.metadata['CHOST'] in the Package constructor for unbuilt ebuilds. svn path=/main/trunk/; revision=13686 | |||||
* | Bug #275047 - Split _emerge/__init__.py into smaller pieces (part 4). | Zac Medico | 2009-06-22 | 1 | -0/+185 | |
Thanks to Sebastian Mingramm (few) <s.mingramm@gmx.de> for this patch. svn path=/main/trunk/; revision=13669 |