Packages¶
-
class
Package¶ -
name(str)¶ The name of the package
-
builddate(Long long)¶ The date on which this package was built
-
installdate(Long Long)¶ The date in which this package was installed (only in localdb)
-
size(Long Long)¶ The archive size
-
isize(Long Long)¶ The installed size
-
files(list)¶ A list of files in this package
-
db(Database)¶ A reference to the database this package belongs to
-
has_scriptlet(boolean)¶ Whether this package has a scriptlet
-
licenses(list)¶ A list of licenses for this package.
-
desc(string)¶ Package description.
-
depends(list)¶ A list of dependencies for this package
-
optdepends(list)¶ A list of the optional dependencies for this package
-
checkdepends(list)¶ A list of the check dependencies for this package (syncdb only)
-
makedepends(list)¶ A list of the make dependencies for this package (syncdb only)
-
replaces(list)¶ A list of packages this package replaces
-
provides(list)¶ A list of strings of what this package provides
-
conflicts(list)¶ A list of packages this package conflicts with
-
backup(list)¶ A list of backup tuples (filename, md5sum)
-
groups(list)¶ The groups this package belongs to
-
arch(string)¶ The CPU architecture for this package
-
packager(string)¶ The packager for this package
-
md5sum(string)¶ The package md5sum as hexadecimal digits
-
sha256sum(string)¶ The package sha256sum as hexadecimal digits
-
base64_sig(string)¶ The package signature encoded as base64
-
filename(string)¶ The package filename
-
url(string)¶ The package URL
-
compute_requiredby()¶ - Computes a list of the packages this package is required by
Returns: the packages who require this package
-
compute_optionalfor()¶ - Computes a list of the packages optionally requiring this package
Returns: the packages who optionally require this package
-