portage._sets.profiles module

class portage._sets.profiles.PackagesSystemSet(profiles, debug=False)

Bases: portage._sets.base.PackageSet

_load()
_operations = ['merge']
_setAtoms(atoms)
_updateAtomMap(atoms=None)

Update self._atommap for specific atoms or all atoms.

containsCPV(cpv)
description = 'generic package set'
findAtomForPackage(pkg, modified_use=None)

Return the best match for a given package from the arguments, or None if there are no matches. This matches virtual arguments against the PROVIDE metadata. This can raise an InvalidDependString exception if an error occurs while parsing PROVIDE.

getAtoms()
getMetadata(key)
getNonAtoms()
iterAtomsForPackage(pkg)

Find all matching atoms for a given package. This matches virtual arguments against the PROVIDE metadata. This will raise an InvalidDependString exception if PROVIDE is invalid.

load()
classmethod singleBuilder(options, settings, trees)
supportsOperation(op)