summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix case for 0 args in args unicode conversion.Zac Medico2009-09-211-1/+2
| | | | svn path=/main/trunk/; revision=14326
* Simplify match_to_list(). Thanks to Marat Radchenko <marat@slonopotamus.org>Zac Medico2009-09-211-8/+1
| | | | | | for this patch from bug #276813. svn path=/main/trunk/; revision=14325
* Show deprecation warnings when dep_* legacy code is triggered.Zac Medico2009-09-211-1/+10
| | | | svn path=/main/trunk/; revision=14324
* Fix breakage in _unicode_encode() for non-string types.Zac Medico2009-09-211-1/+4
| | | | svn path=/main/trunk/; revision=14323
* Deprecate key_expand and portage.dbapi.porttree.portagetree.resolve_specificZac Medico2009-09-212-0/+7
| | | | | | which calls it. svn path=/main/trunk/; revision=14322
* Support both Python 2 and 3 in portage._unicode_encode() and ↵Arfrever Frehtes Taifersar Arahesis2009-09-214-10/+9
| | | | | | | | portage._unicode_decode(). Update decoding in some files. svn path=/main/trunk/; revision=14321
* Use dep_expand instead of key_expand in the blocker display, since it seemsZac Medico2009-09-211-3/+3
| | | | | | | | like a better fit. Also, use str(atom) since we don't want to assume that Atoms are string type (though they happen to be now). This assumption is what caused the traceback in bug 285637, comment #5. svn path=/main/trunk/; revision=14320
* Make key_expand() always return Atom type.Zac Medico2009-09-211-2/+4
| | | | svn path=/main/trunk/; revision=14319
* Add deprecation warnings to vartree.exists_specific_cat(), getnode(), andZac Medico2009-09-211-0/+10
| | | | | | hasnode(). Use dbapi methods instead. svn path=/main/trunk/; revision=14318
* Use range() instead of xrange() for compatibility with Python 3.Arfrever Frehtes Taifersar Arahesis2009-09-2119-30/+30
| | | | | | (2to3-3.1 -f xrange -nw ${FILES}) svn path=/main/trunk/; revision=14317
* Define basestring as str when Python 3 is used.Arfrever Frehtes Taifersar Arahesis2009-09-2121-0/+74
| | | | svn path=/main/trunk/; revision=14316
* Fix all remaining SyntaxErrors with Python 3.Arfrever Frehtes Taifersar Arahesis2009-09-216-11/+14
| | | | svn path=/main/trunk/; revision=14315
* Use filter() and zip() instead of itertools.ifilter() and itertools.izip() ↵Arfrever Frehtes Taifersar Arahesis2009-09-2117-49/+37
| | | | | | | | for compatibility with Python 3. (2to3-3.1 -f itertools -f itertools_imports -nw ${FILES}) svn path=/main/trunk/; revision=14314
* Make Atom.__init__ call the base class constructor, though it doesn't seemZac Medico2009-09-211-0/+2
| | | | | | to matter. svn path=/main/trunk/; revision=14313
* When generating config.prevmaskdict, only call the Atom constructor whenZac Medico2009-09-211-1/+3
| | | | | | necessary. svn path=/main/trunk/; revision=14312
* Fix AtomArg constructor calls to pass in Atom instances, so the constructorZac Medico2009-09-212-23/+19
| | | | | | never has to construct one. svn path=/main/trunk/; revision=14311
* Tread blockers as invalid.Zac Medico2009-09-211-1/+1
| | | | svn path=/main/trunk/; revision=14310
* Fix redundant Atom construtor call in _show_unsatisfied_dep().Zac Medico2009-09-211-1/+0
| | | | svn path=/main/trunk/; revision=14309
* Remove virtuals from the cache because they're unused since portage-2.1.6Zac Medico2009-09-201-4/+0
| | | | | | and it won't hurt older portage. svn path=/main/trunk/; revision=14308
* Fix typos in http.client imports.Zac Medico2009-09-201-6/+6
| | | | svn path=/main/trunk/; revision=14307
* Fix typo from previous commit.Zac Medico2009-09-201-1/+1
| | | | svn path=/main/trunk/; revision=14306
* Fix depgraph._validate_blockers() so that it doesn't do prohibited Atom(Atom)Zac Medico2009-09-201-5/+4
| | | | | | constructor calls. svn path=/main/trunk/; revision=14305
* Add fallback in ImportError for io.StringIO. This is needed for python-2.6Zac Medico2009-09-202-2/+14
| | | | | | | with USE=build since io imports threading which imports thread which is unavailable. svn path=/main/trunk/; revision=14304
* Add support in ConsoleStyleFile.write() for unicode encoding when writing toZac Medico2009-09-201-5/+15
| | | | | | stdout/stderr in python-2.x. svn path=/main/trunk/; revision=14303
* Misc unicode fixes for repoman.Zac Medico2009-09-202-7/+17
| | | | svn path=/main/trunk/; revision=14302
* Use _unicode_encode() to ensure that only unicode strings are passed intoZac Medico2009-09-202-14/+22
| | | | | | io.StringIO text streams. svn path=/main/trunk/; revision=14301
* Make Atom inherit from str. Thanks to Marat RadchenkoZac Medico2009-09-201-79/+24
| | | | | | <marat@slonopotamus.org> for this patch from bug #276813. svn path=/main/trunk/; revision=14300
* Make _unicode_module_wrapper cache wrappers and reuse them. Thanks toZac Medico2009-09-201-2/+14
| | | | | | Marat Radchenko <marat@slonopotamus.org> for this patch from bug #276813. svn path=/main/trunk/; revision=14299
* In doebuild_environment(), detect if setcpv() hasn't been called properly,Zac Medico2009-09-201-3/+9
| | | | | | and call it if necessary (mainly for api consumers). svn path=/main/trunk/; revision=14298
* Add back a line which I erroneously removed when committing the patch forZac Medico2009-09-201-0/+1
| | | | | | | bug 203733. Thanks to Alexis Ballier <aballier@g.o> for reporting the related KeyError. svn path=/main/trunk/; revision=14297
* Fix position of imports from __future__.Arfrever Frehtes Taifersar Arahesis2009-09-202-4/+3
| | | | svn path=/main/trunk/; revision=14296
* Support print() function with Python 2 in more files.Arfrever Frehtes Taifersar Arahesis2009-09-2019-0/+38
| | | | svn path=/main/trunk/; revision=14295
* Update system imports for compatibility with Python 3.Arfrever Frehtes Taifersar Arahesis2009-09-2018-70/+134
| | | | svn path=/main/trunk/; revision=14294
* Update syntax of numbers in some files which were missing in previous commit.Arfrever Frehtes Taifersar Arahesis2009-09-202-9/+9
| | | | svn path=/main/trunk/; revision=14293
* Update syntax of numbers for compatibility with Python 3.Arfrever Frehtes Taifersar Arahesis2009-09-2021-78/+78
| | | | | | (2to3-3.1 -f numliterals -nw ${FILES}) svn path=/main/trunk/; revision=14292
* Support print() function with Python 2 in some files.Arfrever Frehtes Taifersar Arahesis2009-09-2017-2/+40
| | | | svn path=/main/trunk/; revision=14291
* Update syntax of calls to print() for compatibility with Python 3.Arfrever Frehtes Taifersar Arahesis2009-09-2040-947/+945
| | | | | | (2to3-3.1 -f print -nw ${FILES}) svn path=/main/trunk/; revision=14290
* Update syntax of 'except' statements for compatibility with Python 3.Arfrever Frehtes Taifersar Arahesis2009-09-2067-379/+379
| | | | | | (2to3-3.1 -f except -nw ${FILES}) svn path=/main/trunk/; revision=14289
* Bug #285637 - Fix NameError exception triggered by InvalidAtom inZac Medico2009-09-201-1/+1
| | | | | | grabfile_package(). svn path=/main/trunk/; revision=14288
* Add isinstance(mydep, Atom) checks to the dep_* functions since we don't use av2.2_rc41Zac Medico2009-09-191-6/+15
| | | | | | metaclass to do that anymore (due to performance). svn path=/main/trunk/; revision=14286
* Fix config.setinst() to add Atom instances to the provider lists instead ofZac Medico2009-09-191-1/+1
| | | | | | plain str. svn path=/main/trunk/; revision=14285
* Revert accidental changes _unicode_module_wrapper.__getattribute__ fromZac Medico2009-09-191-4/+4
| | | | | | previous commit. svn path=/main/trunk/; revision=14284
* Remove obsolete InvalidAtom handler in _add_pkg_dep_string().Zac Medico2009-09-192-19/+12
| | | | svn path=/main/trunk/; revision=14283
* Avoid lots of redundant Atom constructor calls. Thanks to Marat RadchenkoZac Medico2009-09-198-68/+79
| | | | | | <marat@slonopotamus.org> for the initial patch from bug #276813. svn path=/main/trunk/; revision=14282
* Fix _expand_new_virtuals() to preserve USE deps in atoms for new-styleZac Medico2009-09-192-52/+53
| | | | | | virtuals, and update the corresponding depgraph code. svn path=/main/trunk/; revision=14281
* 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
* Atom optimizations. Remove the metaclass and cache since it just slows itZac Medico2009-09-181-52/+21
| | | | | | down. Thanks to Marat Radchenko <marat@slonopotamus.org> for this patch. svn path=/main/trunk/; revision=14279
* Update documentation of inherit. Reported by Jeremy Olexa.Arfrever Frehtes Taifersar Arahesis2009-09-151-4/+5
| | | | svn path=/main/trunk/; revision=14274
* Fix broken virtual depth code from previous commit.Zac Medico2009-09-141-2/+1
| | | | svn path=/main/trunk/; revision=14273
* Add support in depgraph._add_pkg_dep_string() for adding indirect virtualZac Medico2009-09-141-6/+36
| | | | | | | | deps to the graph. This takes advantage of circular dependency avoidance that's done by dep_zapdeps, while avoiding the dependency graph distortion reported in bug #283795. svn path=/main/trunk/; revision=14272