conditional_matches = set()
for ppkg, atom, other_pkg in parents:
violated_atom = atom.unevaluated_atom.violated_conditionals( \
- _pkg_use_enabled(other_pkg), other_pkg.iuse.is_valid_flag, \
- _pkg_use_enabled(ppkg))
+ _pkg_use_enabled(other_pkg), other_pkg.iuse.is_valid_flag)
if use in violated_atom.use.enabled.union(violated_atom.use.disabled):
hard_matches.add((ppkg, atom))
else:
#We cannot assume that it's possible to reinstall the package. Do not
#check if some of its atom has use.conditional
violated_atom = atom.violated_conditionals(_pkg_use_enabled(pkg), \
- pkg.iuse.is_valid_flag, _pkg_use_enabled(ppkg))
+ pkg.iuse.is_valid_flag)
else:
violated_atom = atom.unevaluated_atom.violated_conditionals(_pkg_use_enabled(pkg), \
- pkg.iuse.is_valid_flag, _pkg_use_enabled(ppkg))
+ pkg.iuse.is_valid_flag)
if pkg.installed and (violated_atom.use.enabled or violated_atom.use.disabled):
#We can't change USE of an installed package (only of an ebuild, but that is already