Implement loading of environment.bz2 for the pkg_info() phase.
authorZac Medico <zmedico@gentoo.org>
Sun, 25 Nov 2007 06:26:29 +0000 (06:26 -0000)
committerZac Medico <zmedico@gentoo.org>
Sun, 25 Nov 2007 06:26:29 +0000 (06:26 -0000)
commitb13416933b67988130b92f0a554e639cbf03e493
tree2afead2349baa833f3c7f6b5463a168939cb06c6
parent8415bbc1e05e67f03ae9fa8155a2a7a0142ad136
Implement loading of environment.bz2 for the pkg_info() phase.
Since a temporary directory is required for processing of
${T}/environment, and we want a user who's not in the portage
group to be able to run the pkg_info() phase, PORTAGE_TMPDIR
is temporarily overridden with a directory created by mkdtemp.
To make this work, doebuild() creates the tempdir and cleans
it up in a finally block.

svn path=/main/trunk/; revision=8649
bin/ebuild.sh
pym/portage/__init__.py