Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 41093 | Differences between
and this patch

Collapse All | Expand All

(-)equery (+14 lines)
Lines 458-463 Link Here
458
		
458
		
459
		pkgtbl.append(cpv)
459
		pkgtbl.append(cpv)
460
		
460
		
461
        try:
461
		for x in pkg.get_runtime_deps():
462
		for x in pkg.get_runtime_deps():
462
			suffix = ""
463
			suffix = ""
463
			cpv = x[2]
464
			cpv = x[2]
Lines 471-476 Link Here
471
				if len(x[1]) and opts["displayUSEFlags"]:
472
				if len(x[1]) and opts["displayUSEFlags"]:
472
					suffix += " [ " + string.join(x[1]) + " ]"
473
					suffix += " [ " + string.join(x[1]) + " ]"
473
			pkgtbl = self._graph(pkg, opts, level+1, pkgtbl, suffix)
474
			pkgtbl = self._graph(pkg, opts, level+1, pkgtbl, suffix)
475
        except KeyError:
476
            # This package's ebuild file could not be found. Installed version could be too old.
477
            # Portage module has already printed a warning. Add a message to clarify.
478
            # It would be better in this case for Portage to not print the message.
479
            indent = level + 1
480
            if opts["fancyFormatting"]:
481
                indent = indent + 4
482
            print indent*" " + "(dependencies unknown -- ebuild missing)"
474
		return pkgtbl
483
		return pkgtbl
475
484
476
	def shortHelp(self):
485
	def shortHelp(self):
Lines 819-825 Link Here
819
			pkgmask = 0
828
			pkgmask = 0
820
			if pkg.is_masked():
829
			if pkg.is_masked():
821
				pkgmask = pkgmask + 3
830
				pkgmask = pkgmask + 3
831
            try:
822
			keywords = pkg.get_env_var("KEYWORDS").split()
832
			keywords = pkg.get_env_var("KEYWORDS").split()
833
            except KeyError:
834
                # ebuild does not exist.
835
                print (5+1+4+1)*" " + pkg.get_cpv() + " (unknown -- ebuild missing)"
836
                continue
823
			if "~"+gentoolkit.settings["ARCH"] in keywords:
837
			if "~"+gentoolkit.settings["ARCH"] in keywords:
824
				pkgmask = pkgmask + 1
838
				pkgmask = pkgmask + 1
825
			elif "-*" in keywords or "-"+gentoolkit.settings["ARCH"] in keywords:
839
			elif "-*" in keywords or "-"+gentoolkit.settings["ARCH"] in keywords:

Return to bug 41093