Class to abstract the details of whatever software package database is
in use (RPM, APT, etc)
|
|
|
getVersion(self,
packageName)
Method to get the version of an installed package as a Version
instance (or raise an exception if not found) |
source code
|
|
|
getFiles(self,
packageName)
Method to get a list of filenames owned by the package, or raise an
exception if not found. |
source code
|
|
|
getMoFiles(self,
locale=None)
Method to get a list of all .mo files on the system, optionally for a
specific locale. |
source code
|
|
|
getDependencies(self,
packageName)
Method to get a list of unique package names that this package is
dependent on, or raise an exception if the package is not found. |
source code
|
|