pkgcore.ebuild.ebd module

EBuild Daemon (ebd), main high level interface to ebuild execution env.

Wraps pkgcore.ebuild.processor functionality into a higher level api, for example per phase methods.

class pkgcore.ebuild.ebd.binpkg_localize(domain, pkg, **kwargs)[source]

Bases: ebd, setup_mixin, build

finalize(**morekwargs)
setup(**morekwargs)
setup_is_for_src = False
stage_depends = {'finalize': 'setup', 'setup': 'start'}
start(**morekwargs)
class pkgcore.ebuild.ebd.buildable(domain, pkg, verified_files, eclass_cache, observer=None, force_test=False, **kwargs)[source]

Bases: ebd, setup_mixin, build

Generic build operation.

compile(**morekwargs)
configure(**morekwargs)
finalize(**morekwargs)
install(**morekwargs)
nofetch()[source]

Execute the nofetch phase.

We need the same prerequisites as setup, so reuse that.

prepare(**morekwargs)
setup(**morekwargs)
start(**morekwargs)
test(**morekwargs)
unpack(**morekwargs)
class pkgcore.ebuild.ebd.ebd(pkg, initial_env=None, env_data_source=None, observer=None, clean=True, tmp_offset=None)[source]

Bases: object

cleanup(disable_observer=False, force=False)[source]
do_cleanup(**morekwargs)
feat_or_bool(name, extra_env=None)[source]
get_env_source()[source]
set_is_being_replaced_by(pkg=None)[source]
set_is_replacing(*pkgs)[source]
static set_path_vars(env, pkg, domain)[source]
setup_logging()[source]
setup_workdir()[source]
start()[source]
class pkgcore.ebuild.ebd.install_op(domain, pkg, observer)[source]

Bases: ebd, install

Phase operations and steps for install execution.

add_triggers(domain_op, engine)[source]
finalize(**morekwargs)
postinst(**morekwargs)
preinst(**morekwargs)
start(**morekwargs)
class pkgcore.ebuild.ebd.replace_op(domain, old_pkg, new_pkg, observer)[source]

Bases: replace

Phase operations and steps for replace execution.

add_triggers(domain_op, engine)[source]
finalize(**morekwargs)
install_kls

alias of install_op

postinst(**morekwargs)

any post unmerge steps needed

postrm(**morekwargs)
preinst(**morekwargs)
prerm(**morekwargs)
start(**morekwargs)
uninstall_kls

alias of uninstall_op

class pkgcore.ebuild.ebd.setup_mixin[source]

Bases: object

setup(setup_phase_override=None)[source]
setup_is_for_src = True
class pkgcore.ebuild.ebd.uninstall_op(domain, pkg, observer)[source]

Bases: ebd, uninstall

Phase operations and steps for uninstall execution.

add_triggers(domain_op, engine)[source]
finalize(**morekwargs)
finish()[source]
postrm(**morekwargs)
prerm(**morekwargs)
start(**morekwargs)