doebuild_environment: move EAPI code later
authorZac Medico <zmedico@gentoo.org>
Tue, 24 May 2011 03:02:30 +0000 (20:02 -0700)
committerZac Medico <zmedico@gentoo.org>
Thu, 26 May 2011 04:27:39 +0000 (21:27 -0700)
commit36337a64cb3b254ad69482ed4e955d83dd965e22
tree1574b3a5a827801ee25303ebf149f86b86764a81
parent04052f030a975ee8e2a8d44fcb8402ea4f815b31
doebuild_environment: move EAPI code later

All EAPI dependent code comes last, so that essential
variables like PORTAGE_BUILDDIR are still initialized even in
cases when UnsupportedAPIException needs to be raised, which
can be useful when uninstalling a package that has corrupt
EAPI metadata.
pym/portage/package/ebuild/doebuild.py