them again. (trunk r13573)
svn path=/main/branches/2.1.6/; revision=13574
settings = self.settings
use = self.built_use
if use is None:
- use = settings['PORTAGE_USE']
- use = set(use.split())
+ use = frozenset(settings['PORTAGE_USE'].split())
values['ACCEPT_LICENSE'] = self._accept_license(use, settings)
values['PORTAGE_RESTRICT'] = self._restrict(use, settings)
return values
mydb = pkg.metadata
args_hash = (mycpv, id(pkg))
if pkg.built:
- built_use = pkg.metadata['USE']
+ built_use = pkg.use.enabled
else:
args_hash = (mycpv, id(mydb))