pkgcore.restrictions.delegated module

functionality to hand off to a callable, enabling collapsing long chains of restrictions into Nlog N, or generating restrictions on the fly

class pkgcore.restrictions.delegated.delegate(location, config_name=None, syncer=None, profiles_base='profiles')[source]

Bases: base

hand off matching to a handed in prototype

Example usage of this class should be available in pkgcore.ebuild.domain.

force_False(pkginst)[source]
force_True(pkginst)[source]
inst_caching = False
match(pkginst)[source]
negate
type = 'package'