pkgcore.resolver.choice_point module

class pkgcore.resolver.choice_point.choice_point(a, matches)[source]

Bases: object

atom
property bdepend

Build time dependencies for CBUILD.

property current_pkg

Current selected package.

property depend

Build time dependencies for CHOST.

force_next_pkg()[source]

Force next package to be selected from available matches.

property idepend

Install-time dependencies (for CBUILD).

property key

alias to current_pkg.key

matches
matches_cur
property pdepend

Post merge dependencies.

property rdepend

Runtime dependencies.

reduce_atoms(atom)[source]

Alter choice point atom set.

Parameters:

atom (set of pkgcore.ebuild.atom.atom) – set of package atoms

Returns:

True if no more pkgs remain or atoms were removed, False if no atoms were removed

property slot

alias to current_pkg.slot

solution_filters
property state

Return choice point state.

Returns:

A tuple consisting of the number of possible choices, current matches’ repo, current package match, all possible matches, cbuild build deps, chost build deps, runtime deps, and post merge deps.