Merged from trunk 10843:10853
| 10844 | Handle invalid atoms inside depgraph._add_pkg_deps(), to |
| zmedico | avoid an unhandled InvalidAtom exception from dep_expand() |
| | when matching against the vardb. |
| 10845 | Split out a _spawn_misc_sh() function from spawnebuild(). |
| zmedico | |
| 10846 | Split out a _post_src_install_uid_fix() function from |
| zmedico | spawnebuild(). |
| 10847 | Split out a _check_build_log() function from spawnebuild(). |
| zmedico | |
| 10848 | In EbuildBuild.execute(), call doebuild() separately for |
| zmedico | each phase since it will be easier to add asynchronous |
| | support to doebuild() if it's called this way. |
| 10849 | * Add "fd_pipes" and "returnpid" parameters to doebuild() |
| zmedico | and pass these into spawn calls, enabling ebuild processes |
| | to execute asynchronously. * Add a EbuildPhase class that's |
| | derived from the pty logging code inside portage.spawn(). * |
| | Integrate post-phase code from spawnebuild() into |
| | EbuildBuild.execute() so that it still gets called even |
| | though doebuild() calls execute asynchronously. |
| 10850 | Add EMERGE_FROM to the blacklisted vars in the config |
| zmedico | constructor. |
| 10851 | Centralize select.poll() event handling in |
| zmedico | MergeTask._schedule(). This will allow the parent process to |
| | handle output of multiple child processes running in |
| | parllel. |
| 10852 | * Tweak conditionals in doebuild() to fix emerge --fetch |
| zmedico | breakage reported by Arfrever. * Change a couple EMERGE_FROM |
| | conditionals to use the "returnpid" parameter instead. |
| 10853 | Rename the MergeTask class to Scheduler. |
| zmedico | |
svn path=/main/branches/prefix/; revision=10879