summaryrefslogtreecommitdiffstats
path: root/pym/_emerge
Commit message (Collapse)AuthorAgeFilesLines
...
* Bug #261670 - Automatically revert the CHOST metadata to the initial valuev2.2_rc25Zac Medico2009-03-121-0/+1
| | | | | | after src_install, in case the ebuild has changed it. svn path=/main/trunk/; revision=13088
* Update docstring for EbuildBuildDir.clean_log().Zac Medico2009-03-121-2/+1
| | | | svn path=/main/trunk/; revision=13072
* Bug #261992 - Replace the EbuildBuildDir.clean() method with a clean_log()Zac Medico2009-03-121-15/+9
| | | | | | | | method since log cleanup is all that's currently needed and shutil.rmtree() can fail with "OSError: [Errno 36] File name too long" due to strange file names, or on FreeBSD it can fail with EPERM due to file flags in $D. svn path=/main/trunk/; revision=13071
* Bug #261992 - Inside Binpkg._prefetch_exit(), avoid potention issues withZac Medico2009-03-121-6/+8
| | | | | | shutil.rmtree() by just doing a minimal cleanup. svn path=/main/trunk/; revision=13070
* Make dyn_clean ignore FEATURES=keepwork when [[ $EMERGE_FROM = binary ]]Zac Medico2009-03-121-7/+0
| | | | | | | and remove shutil.rmtree() call from Binpkg._clean_exit() since dyn_clean is guaranteed to do a full clean now. svn path=/main/trunk/; revision=13069
* Bug #262211 - Avoid triggering an InvalidAtom exception inside the PackageZac Medico2009-03-111-1/+6
| | | | | | constructor when SLOT is empty. svn path=/main/trunk/; revision=13061
* Bug #262012 - Only trigger the slot conflict message about --newuse whenZac Medico2009-03-111-1/+5
| | | | | | | the installed version is the same as the new one. If they are different versions then there's some other problem. svn path=/main/trunk/; revision=13059
* Use protocol=2 for pickle.dump() calls, so that pickles written by py3k willZac Medico2009-03-101-1/+1
| | | | | | be backward compatible. svn path=/main/trunk/; revision=12821
* Reorganize code for --digests and FEATURES=digest.Zac Medico2009-03-091-21/+49
| | | | svn path=/main/trunk/; revision=12801
* Bug #261675 - Generate manifests in advance when FEATURES=digest is enabled.Zac Medico2009-03-091-1/+8
| | | | svn path=/main/trunk/; revision=12799
* Make the --digest warning message show for FEATURES=digest.Zac Medico2009-03-091-2/+7
| | | | svn path=/main/trunk/; revision=12796
* Always use basestring instead of str with isinstance().Zac Medico2009-03-071-1/+1
| | | | svn path=/main/trunk/; revision=12775
* Make --searchdesc imply --search inside parse_opts().Zac Medico2009-03-051-8/+3
| | | | svn path=/main/trunk/; revision=12754
* Only generate PORTAGE_COUNTER_HASH for actions that can involve vdbZac Medico2009-03-051-1/+2
| | | | | | modification. svn path=/main/trunk/; revision=12753
* Make --version and action.Zac Medico2009-03-051-3/+3
| | | | svn path=/main/trunk/; revision=12752
* Set Unpickler.find_global = None when possible and handle AttributeErrorZac Medico2009-03-051-0/+5
| | | | | | for py3k. svn path=/main/trunk/; revision=12751
* Remove unnecessary creation of lists when iterating over digraphs forZac Medico2009-03-051-2/+2
| | | | | | --buildpkgonly hasallzeros check. svn path=/main/trunk/; revision=12750
* Bug #256289 - When displaying an unsatisfied USE dep and all packages withZac Medico2009-03-041-8/+24
| | | | | | | | the required IUSE are masked, show a normal "masked package" message for the package(s) that have the required IUSE (instead of showing the unmasked packages with missing IUSE). svn path=/main/trunk/; revision=12746
* When ACCEPT_CHOSTS is set, enable CHOST masking for unbuilt ebuilds. ThisZac Medico2009-03-021-4/+11
| | | | | | | | behaves as a sanity check to protect people who are cross-compiling from accidentally merging an ebuild with CHOST set incorrectly. Thanks to Ned Ludd <solar@g.o> for reporting the problem. svn path=/main/trunk/; revision=12741
* Skip the code from bug #259954 when $ROOT != / since it shouldn't matter ifZac Medico2009-03-011-0/+6
| | | | | | there are unsatisfied system runtime deps in this case. svn path=/main/trunk/; revision=12734
* Fix PipeReader and PipeReaderTestCase to work with binary strings in py3k.Zac Medico2009-02-271-0/+2
| | | | svn path=/main/trunk/; revision=12720
* Remove recursion code from Scheduler._system_merge_started() since indirectZac Medico2009-02-261-38/+13
| | | | | | deps are checked when the corresponding parent is merged. svn path=/main/trunk/; revision=12715
* In traversing deps to add to Scheduler._unsatisfied_system_deps, only traverseZac Medico2009-02-261-1/+8
| | | | | | | | completed 'merge' nodes since those are the only ones that need to be checked for unsatisfied runtime deps, and it's normal for nodes that aren't yet complete to have unsatisfied runtime deps. svn path=/main/trunk/; revision=12714
* Bug #259954 - Do not spawn parallel build when the system is in a fragileZac Medico2009-02-261-1/+65
| | | | | | | state due to a system package having an unsatisfied runtime dependency (such as sys-libs/pam having an unsatisfied PDEPEND on sys-auth/pambase). svn path=/main/trunk/; revision=12713
* Remove stray parenthesis.Zac Medico2009-02-261-1/+1
| | | | svn path=/main/trunk/; revision=12711
* Inside depgraph._merge_order_bias(), promote deep system runtime deps towardZac Medico2009-02-261-32/+60
| | | | | | | the front of the merge list. This should help optimize merge order to account for implicit system dependencies. svn path=/main/trunk/; revision=12710
* Implement BlockerDepPriority.__str__().Zac Medico2009-02-261-0/+3
| | | | svn path=/main/trunk/; revision=12709
* Fix typo in DepPriority.__str__().Zac Medico2009-02-251-1/+1
| | | | svn path=/main/trunk/; revision=12708
* When displaying reverse dependencies in verbose --depclean/--prune output,Zac Medico2009-02-231-2/+11
| | | | | | sort the parent packages by cpv. svn path=/main/trunk/; revision=12691
* When decoding term codes inside the JobStatusDisplay constructor, use theZac Medico2009-02-221-1/+2
| | | | | | | 'replace' error handling scheme in order to avoid triggering a potential UnicodeError. svn path=/main/trunk/; revision=12687
* In EbuildFetchonly.execute(), skip builddir creation when the ebuild doesZac Medico2009-02-221-4/+26
| | | | | | | not set RESTRICT=fetch (since it's not possible for pkg_nofetch to be executed in this case). svn path=/main/trunk/; revision=12686
* For python-3.0 compatibility, open files in binary mode insideZac Medico2009-02-211-3/+3
| | | | | | SpawnProcess._start(). svn path=/main/trunk/; revision=12666
* Fix StringIO imports so that 2to3 can handle them. Also, replace shlex +Zac Medico2009-02-201-16/+8
| | | | | | StringIO usage with shlex.split() where appropriate. svn path=/main/trunk/; revision=12662
* When displaying the list of failed packages, tell the number that failed.Zac Medico2009-02-191-2/+7
| | | | | | Thanks to Jeremy Olexa <darkside@g.o> for the suggestion. svn path=/main/trunk/; revision=12655
* Optimize depgraph._dep_expand() to avoid calling pordbapi.cp_all(),Zac Medico2009-02-191-15/+6
| | | | | | | | since it can be more efficient to call cp_list() on each category. Thanks to Marat Radchenko <slonopotamusorama@gmail.com> for the suggestion. svn path=/main/trunk/; revision=12653
* Decode terminal codes from binary when necessary, for python-3.0 compatibilityZac Medico2009-02-191-0/+3
| | | | | | since sys.stdout is a text stream. svn path=/main/trunk/; revision=12649
* Handle ValueError when unpickling, since this can be triggered by anZac Medico2009-02-191-1/+1
| | | | | | unsupported pickle protocol. svn path=/main/trunk/; revision=12648
* Tweak code to avoid python-3.0 errors like this one:Zac Medico2009-02-191-3/+9
| | | | | | SyntaxError: can not delete variable 'e' referenced in nested scope svn path=/main/trunk/; revision=12644
* For compatibility with python-3.0, open files in text mode where appropriate.Zac Medico2009-02-191-1/+1
| | | | svn path=/main/trunk/; revision=12642
* For compatibility with python-3.0, always open streams for pickles in binaryZac Medico2009-02-191-11/+3
| | | | | | mode. svn path=/main/trunk/; revision=12641
* Don't bother to calculate PORTAGE_COUNTER_HASH when in --pretend mode.Zac Medico2009-02-191-3/+4
| | | | svn path=/main/trunk/; revision=12637
* Inside post_emerge(), skip the vardbapi counter check when in --pretendZac Medico2009-02-191-2/+2
| | | | | | | mode (significant performance improvement). Thanks to Marat Radchenko (slonopotamus) for reporting. svn path=/main/trunk/; revision=12636
* For compatibility with python-3.0, use isinstance() instead of type().Zac Medico2009-02-191-3/+3
| | | | svn path=/main/trunk/; revision=12633
* In python-3.0, the UserDict.DictMixin class has been replaced byZac Medico2009-02-191-7/+1
| | | | | | | | | | | | | Mapping and MutableMapping from the collections module, but 2to3 doesn't currently account for this change: http://bugs.python.org/issue2876 As a workaround for the above issue, implement Mapping and MutableMapping classes as substitutes for UserDict.DictMixin so that code converted via 2to3 will run. svn path=/main/trunk/; revision=12628
* Set svn:keywords Id on all files.Zac Medico2009-02-181-1/+1
| | | | svn path=/main/trunk/; revision=12626
* Call depgraph._dep_check_composite_db._clear_cache() insideZac Medico2009-02-181-1/+2
| | | | | | | depgraph._add_pkg() since _dep_check_composite_db._visible() is now affected by which packages are added to the graph. svn path=/main/trunk/; revision=12624
* Bug #253904 - Add a lookahead mechanism insideZac Medico2009-02-171-0/+14
| | | | | | | | depgraph._dep_check_composite_db._visible() which masks package choices that are likely to trigger slot conflicts. Thanks to Vlastimil Babka <caster@g.o> for the suggestion. svn path=/main/trunk/; revision=12623
* Bug #259124 - Inside EbuildFetcher._start(), pass the NOCOLOR variable intoZac Medico2009-02-161-0/+4
| | | | | | the fetch environment, so that --color=n is respected. svn path=/main/trunk/; revision=12621
* Fix broken references to DepPriority attributes.Zac Medico2009-02-151-4/+6
| | | | svn path=/main/trunk/; revision=12619
* Fix merge order calculation so that the circular runtime path isn't enteredZac Medico2009-02-151-1/+2
| | | | | | | | when it's possible to select a node that only has unsatisfied PDEPEND. This reverts an unintended change from the patch for bug #250020, and solves a problem with libperl being merged after perl when building stage 1. svn path=/main/trunk/; revision=12613