summaryrefslogtreecommitdiffstats
path: root/pym/_emerge/Package.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix SyntaxError with Python 3 added in r14462.Arfrever Frehtes Taifersar Arahesis2009-09-291-1/+1
| | | | svn path=/main/trunk/; revision=14465
* Revert the rest of r14280 since it seems that dict bypasses __getitem__Zac Medico2009-09-291-26/+7
| | | | | | and/or __setitem__ too often. svn path=/main/trunk/; revision=14463
* Add back _PackageMetadataWrapper__setitem__, removed in r14280, since removingZac Medico2009-09-291-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 clearZac Medico2009-09-231-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 Arahesis2009-09-211-0/+1
| | | | svn path=/main/trunk/; revision=14343
* Use dict.(keys|values|items)() instead of ↵Arfrever Frehtes Taifersar Arahesis2009-09-211-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 Arahesis2009-09-211-0/+4
| | | | svn path=/main/trunk/; revision=14316
* Update syntax of 'except' statements for compatibility with Python 3.Arfrever Frehtes Taifersar Arahesis2009-09-201-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 MaratZac Medico2009-09-191-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 useZac Medico2009-08-111-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 Medico2009-06-281-7/+3
| | | | | | PROPERTIES, PROVIDE, and RESTRICT. svn path=/main/trunk/; revision=13728
* Make Package.invalid suitable for use by repoman.Zac Medico2009-06-281-4/+8
| | | | svn path=/main/trunk/; revision=13726
* Fix PROVIDE code since the Package class automatically evaluates USEZac Medico2009-06-261-2/+6
| | | | | | conditionals now. svn path=/main/trunk/; revision=13702
* Use @property instead of __getattribute__ to implement lazy Package.iuse.regexZac Medico2009-06-251-15/+20
| | | | | | initialization. svn path=/main/trunk/; revision=13696
* Add a Package.metadata.restrict attribute containing a list of enabledZac Medico2009-06-251-0/+4
| | | | | | RESTRICT values. svn path=/main/trunk/; revision=13693
* Add a Package.metadata.properties attribute containing a list of enabledZac Medico2009-06-251-0/+4
| | | | | | PROPERTIES values. svn path=/main/trunk/; revision=13692
* * Add a Package.invalid attribute to store messages about invalid LICENSE,Zac Medico2009-06-251-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 Medico2009-06-251-0/+4
| | | | svn path=/main/trunk/; revision=13690
* * Make Package.metadata['USE'] access trigger USE calculation for unbuiltZac Medico2009-06-251-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 Medico2009-06-221-0/+185
Thanks to Sebastian Mingramm (few) <s.mingramm@gmx.de> for this patch. svn path=/main/trunk/; revision=13669