pyre.platforms¶
Submodules¶
pyre.platforms.Barepyre.platforms.CPUInfopyre.platforms.CentOSpyre.platforms.DPkgpyre.platforms.Darwinpyre.platforms.Debianpyre.platforms.Hostpyre.platforms.Linuxpyre.platforms.MacPortspyre.platforms.Managedpyre.platforms.Modulespyre.platforms.POSIXpyre.platforms.PackageManagerpyre.platforms.Platformpyre.platforms.RedHatpyre.platforms.Ubuntu
Package Contents¶
-
class
pyre.platforms.foundry(factory, implements=None, tip='', **kwds)¶ A decorator for callables that return component classes
-
pyre_tip=¶
-
pyre_factory¶
-
pyre_implements¶
-
__call__(self, *args, **kwds)¶
-
-
class
pyre.platforms.platform¶ Bases:
pyre.protocolEncapsulation of host specific information
-
class
pyre.platforms.packager¶ Bases:
pyre.protocolEncapsulation of host specific information
-
prefix(self)¶ The package manager install location
-
installed(self)¶ Retrieve available information for all installed packages
-
packages(self, category)¶ Provide a sequence of package names that provide compatible installations for the given package {category}. If the package manager provides a way for the user to select a specific installation as the default, care should be taken to rank the sequence appropriately.
-
info(self, package)¶ Return information about the given {package}
The type of information returned is determined by the package manager. This method should return success if and only if {package} is actually fully installed.
-
contents(self, package)¶ Generate a sequence of the contents of {package}
The type of information returned is determined by the package manager. Typically, it contains the list of files that are installed by this package, but it may contain other filesystem entities as well. This method should return a non-empty sequence if and only if {pakage} is actually fully installed
-
configure(self, packageInstance)¶ Dispatch to the {packageInstance} configuration procedure that is specific to the particular implementation of this protocol
-
-
pyre.platforms.dpkg()¶ Support for the Debian packager
-
pyre.platforms.macports()¶ Support for macports
-
pyre.platforms.darwin()¶ Support for OSX
-
pyre.platforms.linux()¶ Generic support for linux flavors
-
pyre.platforms.centos()¶ Support for CentOS
-
pyre.platforms.redhat()¶ Support for RedHat
-
pyre.platforms.ubuntu()¶ Support for Ubuntu
-
pyre.platforms.osx¶