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

(-)pym/portage/__init__.py (-1 / +4 lines)
Lines 6385-6390 Link Here
6385
		all_available = True
6385
		all_available = True
6386
		versions = {}
6386
		versions = {}
6387
		for atom in atoms:
6387
		for atom in atoms:
6388
			if atom[:1] == "!":
6389
				continue
6388
			avail_pkg = mydbapi.match(atom)
6390
			avail_pkg = mydbapi.match(atom)
6389
			if avail_pkg:
6391
			if avail_pkg:
6390
				avail_pkg = avail_pkg[-1] # highest (ascending order)
6392
				avail_pkg = avail_pkg[-1] # highest (ascending order)
Lines 6402-6408 Link Here
6402
			# If any version of a package is installed then we assume that it
6404
			# If any version of a package is installed then we assume that it
6403
			# is preferred over other possible packages choices.
6405
			# is preferred over other possible packages choices.
6404
			all_installed = True
6406
			all_installed = True
6405
			for atom in set([dep_getkey(atom) for atom in atoms]):
6407
			for atom in set([dep_getkey(atom) for atom in atoms \
6408
				if atom[:1] != "!"]):
6406
				# New-style virtuals have zero cost to install.
6409
				# New-style virtuals have zero cost to install.
6407
				if not vardb.match(atom) and not atom.startswith("virtual/"):
6410
				if not vardb.match(atom) and not atom.startswith("virtual/"):
6408
					all_installed = False
6411
					all_installed = False

Return to bug 248053