From 96595cc11efa18c6da4c0a7e387ea79c9e7e6b70 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 22 Oct 2010 13:16:00 -0700 Subject: [PATCH] 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. --- pym/_emerge/EbuildFetcher.py | 2 ++ 1 file changed, 2 insertions(+) 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): -- 2.26.2