Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 184412
Collapse All | Expand All

(-)bin/emerge.orig (+7 lines)
Lines 4649-4654 Link Here
4649
4649
4650
	xterm_titles = "notitles" not in settings.features
4650
	xterm_titles = "notitles" not in settings.features
4651
	myroot = settings["ROOT"]
4651
	myroot = settings["ROOT"]
4652
	portdb = trees[myroot]["porttree"].dbapi
4652
	dep_check_trees = {}
4653
	dep_check_trees = {}
4653
	dep_check_trees[myroot] = {}
4654
	dep_check_trees[myroot] = {}
4654
	dep_check_trees[myroot]["vartree"] = \
4655
	dep_check_trees[myroot]["vartree"] = \
Lines 4701-4706 Link Here
4701
			# deep world update would pull in.  Don't prune if the cpv is in
4702
			# deep world update would pull in.  Don't prune if the cpv is in
4702
			# system or world though, since those sets trigger greedy update
4703
			# system or world though, since those sets trigger greedy update
4703
			# of all slots.
4704
			# of all slots.
4705
			visible_in_portdb = [cpv for cpv in pkgs if portdb.match("="+cpv)]
4706
			if visible_in_portdb:
4707
				# For consistency with the update algorithm, keep the highest
4708
				# visible version and prune any versions that are either masked
4709
				# or no longer exist in the portage tree.
4710
				pkgs = visible_in_portdb
4704
			pkgs = [portage.best(pkgs)]
4711
			pkgs = [portage.best(pkgs)]
4705
		for pkg in pkgs:
4712
		for pkg in pkgs:
4706
			if fakedb.cpv_exists(pkg):
4713
			if fakedb.cpv_exists(pkg):

Return to bug 184412