summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-09-21 07:44:05 +0000
committerZac Medico <zmedico@gentoo.org>2006-09-21 07:44:05 +0000
commited131a813b8d2e65e27ba05de0c69aa900619a76 (patch)
tree26f4c5d3e1388c09ea5fce407c8150d908dda20c /bin
parent418ed146690f78de8a3057149282627dca54aaff (diff)
downloadportage-ed131a813b8d2e65e27ba05de0c69aa900619a76.tar.gz
portage-ed131a813b8d2e65e27ba05de0c69aa900619a76.tar.bz2
portage-ed131a813b8d2e65e27ba05de0c69aa900619a76.zip
Prevent --update and/or --deep style behavior when the user hasn't specified them. In these cases a full depgraph isn't desired and we have to ignore the installed deps that are now returned from dep_check.
svn path=/main/trunk/; revision=4492
Diffstat (limited to 'bin')
-rwxr-xr-xbin/emerge5
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/emerge b/bin/emerge
index 118de5aec..2b741d4be 100755
--- a/bin/emerge
+++ b/bin/emerge
@@ -1108,6 +1108,11 @@ class depgraph:
else:
#We are not processing a blocker but a normal dependency
if not arg:
+ if "empty" not in self.myparams and \
+ "deep" not in self.myparams and \
+ vardb.match(x):
+ continue
+
pkg_key = portage.dep_getkey(x)
if pkg_key in pkgsettings.pprovideddict and \
portage.match_from_list(