Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | In _unicode_func_wrapper, only encode keyword argument values, and not the | Zac Medico | 2009-09-21 | 1 | -2/+1 |
| | | | | | | keys. svn path=/main/trunk/; revision=14366 | ||||
* | Fix PORTAGE_WORKDIR_MODE parsing code so it doesn't store python's octal | Zac Medico | 2009-09-21 | 1 | -1/+1 |
| | | | | | | syntax in the environment variable. svn path=/main/trunk/; revision=14365 | ||||
* | Make find_binary() use os.environ.get instead of os.getenv, since os.getenv | Zac Medico | 2009-09-21 | 1 | -2/+1 |
| | | | | | | isn't behaving correctly in py3k (maybe a unicode wrapper issue?). svn path=/main/trunk/; revision=14364 | ||||
* | Don't encode the env in py3k since it expects strings for the env that's | Zac Medico | 2009-09-21 | 1 | -13/+9 |
| | | | | | | passed into os.execve(). svn path=/main/trunk/; revision=14363 | ||||
* | Temporarily disable use of pty in py3k since it triggers an unresolved | Zac Medico | 2009-09-21 | 1 | -0/+4 |
| | | | | | | | | issue, http://bugs.python.org/issue5380. With this workaround, portage.tests.ebuild.test_spawn.SpawnTestCase.testLogfile() does not raise IOError. svn path=/main/trunk/; revision=14362 | ||||
* | Fix decodeint() for py3k compat, since bytes are a sequence of integers | Zac Medico | 2009-09-21 | 1 | -5/+8 |
| | | | | | | instead of characters. svn path=/main/trunk/; revision=14361 | ||||
* | Use input() instead of raw_input() when Python 3 is used. | Arfrever Frehtes Taifersar Arahesis | 2009-09-21 | 1 | -1/+4 |
| | | | | svn path=/main/trunk/; revision=14358 | ||||
* | Decode database name passed to ↵ | Arfrever Frehtes Taifersar Arahesis | 2009-09-21 | 1 | -2/+2 |
| | | | | | | portage.cache.sqlite.database._db_module.connect() for compatibility with Python 3. svn path=/main/trunk/; revision=14357 | ||||
* | Use next(iterator) instead of iterator.next() for compatibility with Python 3. | Arfrever Frehtes Taifersar Arahesis | 2009-09-21 | 7 | -13/+13 |
| | | | | | | (2to3-3.1 -f next -nw ${FILES}) svn path=/main/trunk/; revision=14355 | ||||
* | Decode all keys in dictionary containing environment passed to os.execve() ↵ | Arfrever Frehtes Taifersar Arahesis | 2009-09-21 | 1 | -1/+7 |
| | | | | | | in portage.process._exec() for compatibility with Python 3. svn path=/main/trunk/; revision=14352 | ||||
* | 'filtered_auxdbkeys' should be a list to allow sorting. | Arfrever Frehtes Taifersar Arahesis | 2009-09-21 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=14347 | ||||
* | Define long as int when Python 3 is used. | Arfrever Frehtes Taifersar Arahesis | 2009-09-21 | 21 | -0/+57 |
| | | | | svn path=/main/trunk/; revision=14343 | ||||
* | Support bytes in portage.util.normalize_path() with Python 3. | Arfrever Frehtes Taifersar Arahesis | 2009-09-21 | 1 | -2/+7 |
| | | | | svn path=/main/trunk/; revision=14333 | ||||
* | Fix portage._unicode_func_wrapper.__call__() to properly handle bytes with ↵ | Arfrever Frehtes Taifersar Arahesis | 2009-09-21 | 1 | -2/+2 |
| | | | | | | Python 3. svn path=/main/trunk/; revision=14331 | ||||
* | Fix dep_expand so that it doesn't use deprecated dep_getcpv() usage | Zac Medico | 2009-09-21 | 1 | -12/+22 |
| | | | | | | (with missing category). svn path=/main/trunk/; revision=14330 | ||||
* | Fix infinite recursion in items and values methods. | Zac Medico | 2009-09-21 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=14329 | ||||
* | Fix infinite recursion in items and values methods. | Zac Medico | 2009-09-21 | 1 | -4/+4 |
| | | | | svn path=/main/trunk/; revision=14328 | ||||
* | Use dict.(keys|values|items)() instead of ↵ | Arfrever Frehtes Taifersar Arahesis | 2009-09-21 | 53 | -222/+222 |
| | | | | | | | | dict.(iterkeys|itervalues|iteritems)() for compatibility with Python 3. (2to3-3.1 -f dict -nw ${FILES}) svn path=/main/trunk/; revision=14327 | ||||
* | Fix case for 0 args in args unicode conversion. | Zac Medico | 2009-09-21 | 1 | -1/+2 |
| | | | | svn path=/main/trunk/; revision=14326 | ||||
* | Simplify match_to_list(). Thanks to Marat Radchenko <marat@slonopotamus.org> | Zac Medico | 2009-09-21 | 1 | -8/+1 |
| | | | | | | for this patch from bug #276813. svn path=/main/trunk/; revision=14325 | ||||
* | Show deprecation warnings when dep_* legacy code is triggered. | Zac Medico | 2009-09-21 | 1 | -1/+10 |
| | | | | svn path=/main/trunk/; revision=14324 | ||||
* | Fix breakage in _unicode_encode() for non-string types. | Zac Medico | 2009-09-21 | 1 | -1/+4 |
| | | | | svn path=/main/trunk/; revision=14323 | ||||
* | Deprecate key_expand and portage.dbapi.porttree.portagetree.resolve_specific | Zac Medico | 2009-09-21 | 2 | -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 Arahesis | 2009-09-21 | 3 | -9/+8 |
| | | | | | | | | 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 seems | Zac Medico | 2009-09-21 | 1 | -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 Medico | 2009-09-21 | 1 | -2/+4 |
| | | | | svn path=/main/trunk/; revision=14319 | ||||
* | Add deprecation warnings to vartree.exists_specific_cat(), getnode(), and | Zac Medico | 2009-09-21 | 1 | -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 Arahesis | 2009-09-21 | 16 | -26/+26 |
| | | | | | | (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 Arahesis | 2009-09-21 | 20 | -0/+71 |
| | | | | svn path=/main/trunk/; revision=14316 | ||||
* | Fix all remaining SyntaxErrors with Python 3. | Arfrever Frehtes Taifersar Arahesis | 2009-09-21 | 6 | -11/+14 |
| | | | | svn path=/main/trunk/; revision=14315 | ||||
* | Use filter() and zip() instead of itertools.ifilter() and itertools.izip() ↵ | Arfrever Frehtes Taifersar Arahesis | 2009-09-21 | 14 | -43/+33 |
| | | | | | | | | 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 seem | Zac Medico | 2009-09-21 | 1 | -0/+2 |
| | | | | | | to matter. svn path=/main/trunk/; revision=14313 | ||||
* | When generating config.prevmaskdict, only call the Atom constructor when | Zac Medico | 2009-09-21 | 1 | -1/+3 |
| | | | | | | necessary. svn path=/main/trunk/; revision=14312 | ||||
* | Fix AtomArg constructor calls to pass in Atom instances, so the constructor | Zac Medico | 2009-09-21 | 2 | -23/+19 |
| | | | | | | never has to construct one. svn path=/main/trunk/; revision=14311 | ||||
* | Tread blockers as invalid. | Zac Medico | 2009-09-21 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=14310 | ||||
* | Fix redundant Atom construtor call in _show_unsatisfied_dep(). | Zac Medico | 2009-09-21 | 1 | -1/+0 |
| | | | | svn path=/main/trunk/; revision=14309 | ||||
* | Remove virtuals from the cache because they're unused since portage-2.1.6 | Zac Medico | 2009-09-20 | 1 | -4/+0 |
| | | | | | | and it won't hurt older portage. svn path=/main/trunk/; revision=14308 | ||||
* | Fix typos in http.client imports. | Zac Medico | 2009-09-20 | 1 | -6/+6 |
| | | | | svn path=/main/trunk/; revision=14307 | ||||
* | Fix typo from previous commit. | Zac Medico | 2009-09-20 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=14306 | ||||
* | Fix depgraph._validate_blockers() so that it doesn't do prohibited Atom(Atom) | Zac Medico | 2009-09-20 | 1 | -5/+4 |
| | | | | | | constructor calls. svn path=/main/trunk/; revision=14305 | ||||
* | Add fallback in ImportError for io.StringIO. This is needed for python-2.6 | Zac Medico | 2009-09-20 | 2 | -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 to | Zac Medico | 2009-09-20 | 1 | -5/+15 |
| | | | | | | stdout/stderr in python-2.x. svn path=/main/trunk/; revision=14303 | ||||
* | Misc unicode fixes for repoman. | Zac Medico | 2009-09-20 | 2 | -7/+17 |
| | | | | svn path=/main/trunk/; revision=14302 | ||||
* | Use _unicode_encode() to ensure that only unicode strings are passed into | Zac Medico | 2009-09-20 | 2 | -14/+22 |
| | | | | | | io.StringIO text streams. svn path=/main/trunk/; revision=14301 | ||||
* | Make Atom inherit from str. Thanks to Marat Radchenko | Zac Medico | 2009-09-20 | 1 | -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 to | Zac Medico | 2009-09-20 | 1 | -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 Medico | 2009-09-20 | 1 | -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 for | Zac Medico | 2009-09-20 | 1 | -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 Arahesis | 2009-09-20 | 2 | -4/+3 |
| | | | | svn path=/main/trunk/; revision=14296 | ||||
* | Support print() function with Python 2 in more files. | Arfrever Frehtes Taifersar Arahesis | 2009-09-20 | 19 | -0/+38 |
| | | | | svn path=/main/trunk/; revision=14295 |