projects
/
gentoolkit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c4c108
)
Add code to change display of masked packages for equery list
author
fuzzyray
<fuzzyray@gentoo.org>
Thu, 5 Jul 2007 19:16:02 +0000
(19:16 -0000)
committer
fuzzyray
<fuzzyray@gentoo.org>
Thu, 5 Jul 2007 19:16:02 +0000
(19:16 -0000)
svn path=/; revision=410
trunk/src/equery/equery
patch
|
blob
|
history
diff --git
a/trunk/src/equery/equery
b/trunk/src/equery/equery
index 238f19226c5536c8908fe078a245fd78c6fefb7f..f73f7248ee7f4da277bf3262344e7d949f9ab465 100755
(executable)
--- a/
trunk/src/equery/equery
+++ b/
trunk/src/equery/equery
@@
-1412,6
+1412,9
@@
class CmdListPackages(Command):
def _get_mask_status(self, pkg):
pkgmask = 0
if pkg.is_masked():
+ # Uncomment to only have package masked files show an 'M'
+ # maskreasons = portage.getmaskingstatus(pkg.get_cpv())
+ # if "package.mask" in maskreasons:
pkgmask = pkgmask + 3
keywords = pkg.get_env_var("KEYWORDS").split()
if "~" + gentoolkit.settings["ARCH"] in keywords: