missing, _keywords = \
self.root_config.settings._getRawMissingKeywords(
self.cpv, self.metadata)
+ unmasks = self.root_config.settings._getPKeywords(
+ self.cpv, self.metadata)
+
if '**' in missing:
return '**'
if missing: # keywords to evaluate
- for keyword in _keywords:
+ for keyword in _keywords + unmasks:
+ if keyword == '**':
+ return keyword
used_keyword = '~' + keyword
if used_keyword in missing:
return used_keyword
"""
used_keyword = pkg.accepted_keyword()
hardmasked = pkg.isHardMasked()
- if used_keyword not in self.pkgsettings['ACCEPT_KEYWORDS'] or hardmasked:
+ if used_keyword not in self.pkgsettings['ACCEPT_KEYWORDS'].split() or hardmasked:
if hardmasked:
self.verboseadd += 'keyword=' + red('[%s] ' % used_keyword)
else: