pkgcore.operations.format module

build operation

exception pkgcore.operations.format.FailedDirectory(path, text)[source]

Bases: BuildError

exception pkgcore.operations.format.FetchError(failures)[source]

Bases: BuildError

exception pkgcore.operations.format.GenericBuildError(err)[source]

Bases: BuildError

class pkgcore.operations.format.build_base(domain, observer)[source]

Bases: object

finish(**morekwargs)
stage_depends = {'finish': 'start'}
start(**morekwargs)
class pkgcore.operations.format.empty_build_op(pkg, observer=None, clean=False)[source]

Bases: build_base

cleanup()[source]
finalize()[source]
stage_depends = {}
class pkgcore.operations.format.fetch_base(domain, pkg, fetchables, distdir=None)[source]

Bases: object

fetch_all(observer)[source]
fetch_one(fetchable, observer, retry=False)[source]
class pkgcore.operations.format.install(domain, newpkg, observer)[source]

Bases: build_base

add_triggers(engine)[source]
finalize(**morekwargs)
postinst(**morekwargs)
preinst(**morekwargs)
stage_depends = {'finalize': 'postinst', 'postinst': 'preinst', 'preinst': 'start'}
start(**morekwargs)
class pkgcore.operations.format.replace(domain, old_pkg, new_pkg, observer)[source]

Bases: install, uninstall

finalize(**morekwargs)
postinst(**morekwargs)

any post unmerge steps needed

postrm(**morekwargs)
preinst(**morekwargs)
prerm(**morekwargs)
stage_depends = {'finalize': 'postinst', 'postinst': 'postrm', 'postrm': 'prerm', 'preinst': 'start', 'prerm': 'preinst'}
start(**morekwargs)
class pkgcore.operations.format.uninstall(domain, oldpkg, observer)[source]

Bases: build_base

add_triggers(engine)[source]
finalize(**morekwargs)
postinst()[source]

any post unmerge steps needed

postrm(**morekwargs)
prerm(**morekwargs)
stage_depends = {'finalize': 'postrm', 'postrm': 'prerm', 'prerm': 'start'}
start(**morekwargs)