spawnebuild: skip previously executed phases
authorZac Medico <zmedico@gentoo.org>
Mon, 29 Aug 2011 00:04:47 +0000 (17:04 -0700)
committerZac Medico <zmedico@gentoo.org>
Mon, 29 Aug 2011 00:04:47 +0000 (17:04 -0700)
commit5bc6b9c8767c9a9bea511d7ece98f54e8a873b47
treee3e812f1c23ea2474a0bd7d04cff5f737941645a
parentae9b6cb513c7b29376caecf3b4e52aac452e2b93
spawnebuild: skip previously executed phases

This simply checks of $PORTAGE_BUILDDIR/.${EBUILD_PHASE%e}ed and skips
the phase like ebuild.sh would. It preserves a special case for the
install phase with FEATURES=noauto, so that dyn_install in ebuild.sh
continues to work the same for this case.. Also, note that commit
ae9b6cb513c7b29376caecf3b4e52aac452e2b93 preserves the automatic
"recreating WORKDIR" behavior that used to be implemented in
dyn_unpack.
pym/portage/package/ebuild/doebuild.py