From 2da4663b628825f8520f2501a337a9fe22e32f09 Mon Sep 17 00:00:00 2001 From: Jason Stubbs Date: Fri, 30 Dec 2005 04:02:41 +0000 Subject: Don't download distfiles when manifesting. svn path=/main/trunk/; revision=2494 --- pym/portage.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'pym') diff --git a/pym/portage.py b/pym/portage.py index 821353aa6..eaa5c6e8d 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -2788,8 +2788,9 @@ def doebuild(myebuild,mydo,myroot,mysettings,debug=0,listonly=0,fetchonly=0,clea # Only try and fetch the files if we are going to need them ... otherwise, # if user has FEATURES=noauto and they run `ebuild clean unpack compile install`, # we will try and fetch 4 times :/ - if (mydo in ["digest","fetch","unpack"] or "noauto" not in features) and \ - not fetch(fetchme, mysettings, listonly=listonly, fetchonly=fetchonly): + need_distfiles = (mydo in ("digest", "fetch", "unpack") or + mydo != "manifest" and "noauto" not in features) + if need_distfiles and not fetch(fetchme, mysettings, listonly=listonly, fetchonly=fetchonly): return 1 # inefficient. improve this logic via making actionmap easily searchable to see if we're in the chain of what -- cgit v1.2.3-1-g7c22