summaryrefslogtreecommitdiffstats
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:16:00 -0700
commit1396cc1597b0e1b5343f11e4ea36d2b637888475 (patch)
tree6d81ef6e17af37b2bb2d48b42a202e303397a7ca
parentfb27f6d1e4bdae14b28b2b877547c0aaf6b54084 (diff)
downloadportage-1396cc1597b0e1b5343f11e4ea36d2b637888475.tar.gz
portage-1396cc1597b0e1b5343f11e4ea36d2b637888475.tar.bz2
portage-1396cc1597b0e1b5343f11e4ea36d2b637888475.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.
-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 1abe846d7..141dc69ea 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):