summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorMarius Mauch <genone@gentoo.org>2006-10-26 15:43:40 +0000
committerMarius Mauch <genone@gentoo.org>2006-10-26 15:43:40 +0000
commit8bdb33b9037f748380041aa8382dd4981921ddf2 (patch)
tree9b5ee985772dd3f4d2ff540e544ffb5d36583667 /bin
parentd110e776d3c178444130b1361a50b00eac7c0275 (diff)
downloadportage-8bdb33b9037f748380041aa8382dd4981921ddf2.tar.gz
portage-8bdb33b9037f748380041aa8382dd4981921ddf2.tar.bz2
portage-8bdb33b9037f748380041aa8382dd4981921ddf2.zip
rename getmaskingreason() to getpmaskcomment() to clarify its function, report each license as a separate mask instead of combining them all together into a single value for getmaskingstatus()
svn path=/main/trunk/; revision=4823
Diffstat (limited to 'bin')
-rwxr-xr-xbin/emerge11
1 files changed, 6 insertions, 5 deletions
diff --git a/bin/emerge b/bin/emerge
index e98ea6211..440a6cb87 100755
--- a/bin/emerge
+++ b/bin/emerge
@@ -1362,11 +1362,12 @@ class depgraph:
mreasons = portage.getmaskingstatus(p,
settings=pkgsettings, portdb=portdb)
print "- "+p+" (masked by: "+string.join(mreasons, ", ")+")"
- comment = portage.getmaskingreason(p,
- settings=pkgsettings, portdb=portdb)
- if comment and comment != oldcomment:
- print comment
- oldcomment = comment
+ if "package.mask" in mreasons:
+ comment = portage.getpmaskcomment(p,
+ settings=pkgsettings, portdb=portdb)
+ if comment and comment != oldcomment:
+ print comment
+ oldcomment = comment
print
print "For more information, see MASKED PACKAGES section in the emerge man page or "
print "refer to the Gentoo Handbook."