doebuild: avoid redundant distfiles checks
authorZac Medico <zmedico@gentoo.org>
Sun, 28 Aug 2011 23:29:49 +0000 (16:29 -0700)
committerZac Medico <zmedico@gentoo.org>
Sun, 28 Aug 2011 23:29:49 +0000 (16:29 -0700)
commitae9b6cb513c7b29376caecf3b4e52aac452e2b93
treee15b8ac1534dadf44eb8a0739abba6f40ddaca44
parent566a9776d3ca10ccf1b646fba154fa71ccaf4ff6
doebuild: avoid redundant distfiles checks

When the unpack phase is already marked as complete, it's wasteful to
check distfiles digests. In order to avoid this, we have to migrate the
distfiles/workdir timestamp comparisons from ebuild.sh to doebuild.py,
so that doebuild always knows when unpack will be triggered. This also
allows us to eliminate code in dyn_unpack that duplicated dyn_clean,
actually call dyn_clean instead.
bin/ebuild.sh
pym/portage/package/ebuild/doebuild.py