summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage/__init__.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py
index 788ff728b..e2f498760 100644
--- a/pym/portage/__init__.py
+++ b/pym/portage/__init__.py
@@ -5075,6 +5075,18 @@ def getmaskingstatus(mycpv, settings=None, portdb=None):
rValue = []
+ # profile checking
+ revmaskdict=settings.prevmaskdict
+ if revmaskdict.has_key(mycp):
+ for x in revmaskdict[mycp]:
+ if x[0]=="*":
+ myatom = x[1:]
+ else:
+ myatom = x
+ if not match_to_list(mycpv, [myatom]):
+ rValue.append("profile")
+ break
+
# package.mask checking
maskdict=settings.pmaskdict
unmaskdict=settings.punmaskdict