Merged from trunk -r11654:11673
authorFabian Groffen <grobian@gentoo.org>
Sat, 11 Oct 2008 15:49:30 +0000 (15:49 -0000)
committerFabian Groffen <grobian@gentoo.org>
Sat, 11 Oct 2008 15:49:30 +0000 (15:49 -0000)
commit1938887b113a13f01ce5968a2b28cb7eea54e1de
tree61e281d31c112dec2861fcc8521acc35010b21de
parent0b3cf8d3e1a1e4f7c91129caf493974548c2c233
   Merged from trunk -r11654:11673

   | 11655    | Before returning config instances from                      |
   | zmedico  | Scheduler._allocate_config(), call the config.reset()       |
   |          | method to make sure all settings from the previous package  |
   |          | get flushed out (such as PORTAGE_LOG_FILE). This fixes a    |
   |          | case where PORTAGE_LOG_FILE leaked from the previous        |
   |          | package to the clean phase of the next one, resulting in an |
   |          | IOError due to the path being invalid and the parent        |
   |          | directory being nonexistent.                                |

   | 11656    | Since EbuildBuild no longer directs it's EbuildFetcher      |
   | zmedico  | instance's output to the global fetch log, there's no need  |
   |          | to schedule it on the fetch queue.                          |

   | 11657    | Use separate temp directories in order to avoid potential   |
   | zmedico  | name collisions.                                            |

   | 11658    | In EbuildBuild._fetch_exit(), clean up the fetch log if     |
   | zmedico  | fetch was successful.                                       |

   | 11659    | Fix apparent breakage from r11593 (slot dep support): *     |
   | zmedico  | Handle KeyError from element.getAttribute() in makeAtom()   |
   |          | and makeVersion(). * Avoid 'sre_constants.error: unmatched  |
   |          | group' exceptions in revisionMatch() when the atom does not |
   |          | have a slot.                                                |

   | 11660    | Don't show the repo display when the merge list is empty.   |
   | zmedico  |                                                             |

   | 11661    | In EbuildFetcher._set_returncode(), don't clean up          |
   | zmedico  | PORTAGE_BUILDDIR if keepwork or keeptemp are in FEATURES.   |

   | 11664    | Bug #240684 - Fix _ebuild_arg_to_phase() to handle the      |
   | zmedico  | src_prepare phase so that the default() function is         |
   |          | properly created.                                           |

   | 11665    | Fix code from previous commit so it properly checks $eapi   |
   | zmedico  | to verify that src_prepare is really a supported phase      |
   |          | function.                                                   |

   | 11666    | Remove redundant os.close(master_fd) call inside            |
   | zmedico  | SpawnProcess._start() since that file discriptor is         |
   |          | referenced by a file object which already has an            |
   |          | appropriate close() call. This fixes an 'IOError: [Errno 9] |
   |          | Bad file descriptor' exception which was raised when        |
   |          | attempting to close the file object.                        |

   | 11667    | At the end of dyn_clean(), also remove the $CATEGORY        |
   | zmedico  | directory if possible.                                      |

   | 11669    | Grab make.globals from GLOBAL_CONFIG_PATH if available and  |
   | zmedico  | fall back to the legacy location if necessary.              |

   | 11670    | Create a new AmbiguousPackageName exception to raise from   |
   | zmedico  | portage.cpv_expand(). It inherits from ValueError, for      |
   |          | backward compatibility with calling code that already       |
   |          | handles ValueError.                                         |

   | 11671    | Bug #241132 - Handle AmbiguousPackageName exceptions for    |
   | zmedico  | atoms passed to the --info action.                          |

   | 11672    | Migrate code from plain ValueError to AmbiguousPackageName  |
   | zmedico  | where appropriate (inherits from ValueError for backward    |
   |          | compatibility).                                             |

   | 11673    | only use dummy echos in do_file() when running in           |
   | SpankMan | interactive mode                                            |

svn path=/main/branches/prefix/; revision=11675
bin/doins
bin/ebuild.sh
bin/etc-update
pym/_emerge/__init__.py
pym/portage/__init__.py
pym/portage/exception.py
pym/portage/glsa.py