summaryrefslogtreecommitdiffstats
path: root/pym
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2011-11-29 08:24:06 -0800
committerZac Medico <zmedico@gentoo.org>2011-11-29 08:24:06 -0800
commit10017a62b227558ed446419a2133c1584676c01c (patch)
tree06cef432d5ef2e825cdb2556ed4efff8dd1d4fa7 /pym
parentd5ab84724a9a9a39546bc962cc31e694a8634436 (diff)
downloadportage-10017a62b227558ed446419a2133c1584676c01c.tar.gz
portage-10017a62b227558ed446419a2133c1584676c01c.tar.bz2
portage-10017a62b227558ed446419a2133c1584676c01c.zip
doebuild: disable noauto for binary packages
Diffstat (limited to 'pym')
-rw-r--r--pym/portage/package/ebuild/doebuild.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/pym/portage/package/ebuild/doebuild.py b/pym/portage/package/ebuild/doebuild.py
index 4ba523cc4..e42d9a41c 100644
--- a/pym/portage/package/ebuild/doebuild.py
+++ b/pym/portage/package/ebuild/doebuild.py
@@ -560,6 +560,10 @@ def doebuild(myebuild, mydo, _unused=None, settings=None, debug=0, listonly=0,
os.path.dirname(os.path.dirname(pkgdir)))
else:
repo_config = None
+ # FEATURES=noauto only makes sense for porttree, and we don't want
+ # it to trigger redundant sourcing of the ebuild for api consumers
+ # that are using binary packages
+ mysettings.features.discard("noauto")
mf = None
if "strict" in features and \
"digest" not in features and \