pkgcore.config.domain module

base class to derive from for domain objects

Bit empty at the moment

exception pkgcore.config.domain.Failure(text)[source]

Bases: PkgcoreException

Generic domain failure.

exception pkgcore.config.domain.MissingFile(filename, setting)[source]

Bases: PkgcoreException

Required file is missing.

class pkgcore.config.domain.domain[source]

Bases: object

build_pkg(pkg, observer=None, failed=False, clean=True, **kwargs)[source]
fetcher = None
get_pkg_operations(pkg, observer=None)[source]

Get the manager of package operations for the given package

If you wish to modify a package- invoke setup, install, etc- this is what’s responsible for giving you a common interface despite the format implementation varying.

install_pkg(newpkg, observer)[source]
replace_pkg(oldpkg, newpkg, observer)[source]
tmpdir = None
property triggers
uninstall_pkg(pkg, observer)[source]