diff options
author | Jason Stubbs <jstubbs@gentoo.org> | 2005-12-30 04:02:41 +0000 |
---|---|---|
committer | Jason Stubbs <jstubbs@gentoo.org> | 2005-12-30 04:02:41 +0000 |
commit | 2da4663b628825f8520f2501a337a9fe22e32f09 (patch) | |
tree | e1335e28d8bb4ea694f141b8e55de03753892c5f | |
parent | 5c046815fc92b4745d3941be989f18fbde710a1e (diff) | |
download | portage-2da4663b628825f8520f2501a337a9fe22e32f09.tar.gz portage-2da4663b628825f8520f2501a337a9fe22e32f09.tar.bz2 portage-2da4663b628825f8520f2501a337a9fe22e32f09.zip |
Don't download distfiles when manifesting.
svn path=/main/trunk/; revision=2494
-rw-r--r-- | pym/portage.py | 5 |
1 files changed, 3 insertions, 2 deletions
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 |