summaryrefslogtreecommitdiffstats
path: root/pym/_emerge
Commit message (Collapse)AuthorAgeFilesLines
* Bug #287870 - Add -r option as short version of --resume.Zac Medico2009-10-062-2/+3
| | | | svn path=/main/trunk/; revision=14504
* Add a new --accept-properties option so that users can temporarily overrideZac Medico2009-10-062-0/+22
| | | | | | | | | | | ACCEPT_PROPERTIES on the commandline, without relying on emerge's legacy behavior of allowing variables to leak in from the calling environment. A typical usage example for this option would be to use --accept-properties=-interactive to temporarily mask interactive packages. With default configuration, this would result in an effective ACCEPT_PROPERTIES value of "* -interactive". svn path=/main/trunk/; revision=14501
* When restarting emerge, don't trust sys.argv[0] since eselect-python mayZac Medico2009-10-061-1/+3
| | | | | | modify it. svn path=/main/trunk/; revision=14499
* - move news into features so it can be ignored when needed. Lots of ↵Ned Ludd2009-10-051-9/+11
| | | | | | whitespace cleanups svn path=/main/trunk/; revision=14497
* Bug #285832 - When updates are missed due to dependencies that have beenZac Medico2009-10-031-1/+44
| | | | | | | masked by backtracking, abbreviate output in order to avoid terminal flooding. svn path=/main/trunk/; revision=14476
* Bug #287333 - If posible, use ebuild from tree when checking for keyword maskZac Medico2009-10-021-7/+6
| | | | | | on installed packages. svn path=/main/trunk/; revision=14474
* Bug #287333 - Fix the code from bug #252167 so it behaves consistentlyZac Medico2009-10-021-4/+3
| | | | | | regardless of the package (ebuild or binpkg) being masked. svn path=/main/trunk/; revision=14472
* 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
* Handle encoding/decoding of unicode when using the xpak api.Zac Medico2009-09-291-1/+2
| | | | | | | Use tbz2.get_data() instead of tbz2.getfile() when reading multiple values, in order to avoid multiple tbz2.scan() and searchindex() calls. svn path=/main/trunk/; revision=14461
* Fix breakage in file path -> package lookup code.Zac Medico2009-09-282-2/+2
| | | | svn path=/main/trunk/; revision=14455
* Bug #286522 - Check all portdbapi.findname return values in case itZac Medico2009-09-268-15/+36
| | | | | | returns None, and raise 'ebuild not found' exceptions when necessary. svn path=/main/trunk/; revision=14442
* Bug #285767 - Add support to to identify and eliminate redundant packageZac Medico2009-09-252-8/+89
| | | | | | selections when multiple atoms happen to specify a version range. svn path=/main/trunk/; revision=14432
* Fix UnboundLocalError triggered by atom without category for nonexistentZac Medico2009-09-251-1/+1
| | | | | | package. Thanks to Jeremy Olexa <darkside@gentoo.org> for reporting. svn path=/main/trunk/; revision=14431
* Fix formatting of sizes with Python 3.Arfrever Frehtes Taifersar Arahesis2009-09-251-1/+1
| | | | svn path=/main/trunk/; revision=14429
* Define __bool__() for compatibility with Python 3.Arfrever Frehtes Taifersar Arahesis2009-09-251-2/+5
| | | | svn path=/main/trunk/; revision=14427
* Fix formatting of size of downloads with Python 3.Arfrever Frehtes Taifersar Arahesis2009-09-231-1/+1
| | | | svn path=/main/trunk/; revision=14394
* 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
* Replace dict.keys() usage with __iter__(), since it behaves identically inZac Medico2009-09-224-6/+6
| | | | | | both python 2.x and 3.x. svn path=/main/trunk/; revision=14380
* Use input() instead of raw_input() when Python 3 is used.Arfrever Frehtes Taifersar Arahesis2009-09-211-1/+4
| | | | svn path=/main/trunk/; revision=14358
* Use next(iterator) instead of iterator.next() for compatibility with Python 3.Arfrever Frehtes Taifersar Arahesis2009-09-214-8/+8
| | | | | | (2to3-3.1 -f next -nw ${FILES}) svn path=/main/trunk/; revision=14355
* Define long as int when Python 3 is used.Arfrever Frehtes Taifersar Arahesis2009-09-218-0/+22
| | | | svn path=/main/trunk/; revision=14343
* Use dict.(keys|values|items)() instead of ↵Arfrever Frehtes Taifersar Arahesis2009-09-2119-67/+67
| | | | | | | | 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 Medico2009-09-211-1/+2
| | | | svn path=/main/trunk/; revision=14326
* Support both Python 2 and 3 in portage._unicode_encode() and ↵Arfrever Frehtes Taifersar Arahesis2009-09-212-2/+3
| | | | | | | | 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
* Use range() instead of xrange() for compatibility with Python 3.Arfrever Frehtes Taifersar Arahesis2009-09-216-13/+13
| | | | | | (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-216-0/+22
| | | | svn path=/main/trunk/; revision=14316
* Use filter() and zip() instead of itertools.ifilter() and itertools.izip() ↵Arfrever Frehtes Taifersar Arahesis2009-09-217-20/+15
| | | | | | | | for compatibility with Python 3. (2to3-3.1 -f itertools -f itertools_imports -nw ${FILES}) svn path=/main/trunk/; revision=14314
* 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 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-201-1/+7
| | | | | | | with USE=build since io imports threading which imports thread which is unavailable. svn path=/main/trunk/; revision=14304
* Use _unicode_encode() to ensure that only unicode strings are passed intoZac Medico2009-09-201-14/+15
| | | | | | io.StringIO text streams. svn path=/main/trunk/; revision=14301
* Support print() function with Python 2 in more files.Arfrever Frehtes Taifersar Arahesis2009-09-2010-0/+20
| | | | svn path=/main/trunk/; revision=14295
* Update system imports for compatibility with Python 3.Arfrever Frehtes Taifersar Arahesis2009-09-204-15/+21
| | | | 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-205-6/+6
| | | | | | (2to3-3.1 -f numliterals -nw ${FILES}) svn path=/main/trunk/; revision=14292
* Update syntax of calls to print() for compatibility with Python 3.Arfrever Frehtes Taifersar Arahesis2009-09-2010-646/+645
| | | | | | (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-2018-73/+73
| | | | | | (2to3-3.1 -f except -nw ${FILES}) svn path=/main/trunk/; revision=14289
* Remove obsolete InvalidAtom handler in _add_pkg_dep_string().Zac Medico2009-09-191-15/+8
| | | | svn path=/main/trunk/; revision=14283
* Avoid lots of redundant Atom constructor calls. Thanks to Marat RadchenkoZac Medico2009-09-194-21/+13
| | | | | | <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-191-6/+12
| | | | | | 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
* 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