Package rosdep :: Module macports :: Class Macports
[frames] | no frames]

Class Macports

source code

roslib.os_detect.OSBase --+    
                          |    
   base_rosdep.RosdepBaseOS --+
                              |
                             Macports

Instance Methods
 
check_presence(self)
Return if the specific OS which this class is designed to detect is present.
source code
 
get_version(self)
Return the standardized version for this OS.
source code
 
get_name(self)
Return the standardized name for this OS.
source code
 
strip_detected_packages(self, packages)
Take a list of packages and return the subset of that list which is not installed.
source code
 
generate_package_install_command(self, packages, default_yes)
Return the install command necessary for installing all the packages in the list packages as a string.
source code
Method Details

check_presence(self)

source code 

Return if the specific OS which this class is designed to detect is present. Only one version of this class should return for any version.

Overrides: roslib.os_detect.OSBase.check_presence
(inherited documentation)

get_version(self)

source code 

Return the standardized version for this OS. (ala Ubuntu Hardy Heron = "8.04")

Overrides: roslib.os_detect.OSBase.get_version
(inherited documentation)

get_name(self)

source code 

Return the standardized name for this OS. (ala Ubuntu Hardy Heron = "ubuntu")

Overrides: roslib.os_detect.OSBase.get_name
(inherited documentation)

strip_detected_packages(self, packages)

source code 

Take a list of packages and return the subset of that list which is not installed. (If undetectable keep the package in the list.)

Overrides: base_rosdep.RosdepBaseOS.strip_detected_packages
(inherited documentation)

generate_package_install_command(self, packages, default_yes)

source code 

Return the install command necessary for installing all the packages in the list packages as a string. The option default_yes will pass through an apt-get -y equivilant to the package manager to allow this call to be non interactive in scripts.

Overrides: base_rosdep.RosdepBaseOS.generate_package_install_command
(inherited documentation)