summaryrefslogtreecommitdiffstats
path: root/pym
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-10-22 13:16:00 -0700
committerZac Medico <zmedico@gentoo.org>2010-10-22 13:24:27 -0700
commit96595cc11efa18c6da4c0a7e387ea79c9e7e6b70 (patch)
tree83fb934a4d6ce2dd8e6daa28ce56c8e6a881e9c4 /pym
parentfa5ea1b3d9d61ff803e0eaacc401ecb62b625f01 (diff)
downloadportage-96595cc11efa18c6da4c0a7e387ea79c9e7e6b70.tar.gz
portage-96595cc11efa18c6da4c0a7e387ea79c9e7e6b70.tar.bz2
portage-96595cc11efa18c6da4c0a7e387ea79c9e7e6b70.zip
EbuildFetcher: fix fetch to use manifest
If we don't call doebuild_environment() then the 'O' variable is not set and fetch() doesn't use the manifest.
Diffstat (limited to 'pym')
-rw-r--r--pym/_emerge/EbuildFetcher.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pym/_emerge/EbuildFetcher.py b/pym/_emerge/EbuildFetcher.py
index 7b2cdb948..cc8051642 100644
--- a/pym/_emerge/EbuildFetcher.py
+++ b/pym/_emerge/EbuildFetcher.py
@@ -46,6 +46,8 @@ class EbuildFetcher(SpawnProcess):
settings = self.config_pool.allocate()
settings.setcpv(self.pkg)
+ portage.doebuild_environment(ebuild_path, 'fetch',
+ settings=settings, db=portdb)
if self.prefetch and \
self._prefetch_size_ok(uri_map, settings, ebuild_path):