pyre.platforms.MacPorts

Module Contents

class pyre.platforms.MacPorts.MacPorts(**kwds)

Bases: pyre.platforms.Managed.Managed

Support for the macport package manager

name = macports
client = port
defaultLocation
_installed
_alternatives
_normalizations
_provides
getInstalledPackages(self)

Grant access to the installed package indexx

alternatives(self, group)

Generate a sequence of alternative installations for {group}, starting with the default selection

getAlternatives(self)

Return the selected package and all alternatives for the given package {group}

retrieveInstalledPackages(self)

Ask macports for installed package information

retrievePackageContents(self, package)

Generate a sequence with the contents of {package}

retrievePackageAlternatives(self)

Retrieve selection information for all known package groups

getSelectionInfo(self, group, alternative)

Identify the package in the {group} that provides the selected {alternative}

getNormalization(self, group, alternative)

Retrieve the normalization map for {alternative} from {group}

retrieveNormalizationTable(self, group, alternative)

Populate the {group} normalization table with the selections for {alternative}

getFileProvider(self, filename)

Find the package that owns the given filename

identify(self, installation)

Attempt to map the package {installation} to the name of an installed package