derived class for the packageobject and RpmBase packageobject yum
uses this for dealing with packages in a repository
|
__init__(self,
repo,
pkgdict=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
source code
|
|
|
|
|
exclude(self)
remove self from package sack |
source code
|
|
|
printVer(self)
returns a printable version string - including epoch, if it's set |
source code
|
|
|
|
|
|
|
|
|
|
|
_committer(self)
Returns the name of the last person to do a commit to the changelog. |
source code
|
|
|
_committime(self)
Returns the time of the last commit to the changelog. |
source code
|
|
|
_checksum(self)
Returns the 'default' checksum |
source code
|
|
|
|
|
|
|
returnLocalHeader(self)
returns an rpm header object from the package object's local header
cache |
source code
|
|
|
localPkg(self)
return path to local package (whether it is present there, or not) |
source code
|
|
|
localHdr(self)
return path to local cached Header file downloaded from package byte
ranges |
source code
|
|
|
verifyLocalPkg(self)
check the package checksum vs the localPkg return True if pkg is
good, False if not |
source code
|
|
|
prcoPrintable(self,
prcoTuple)
convert the prco tuples into a nicer human string |
source code
|
|
|
requiresList(self)
return a list of requires in normal rpm format |
source code
|
|
|
|
|
importFromDict(self,
pkgdict)
handles an mdCache package dictionary item to populate out the
package information |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
_dump_requires(self)
returns deps in format |
source code
|
|
|
|
|
|
|
|
|
xml_dump_other_metadata(self,
clog_limit=0) |
source code
|
|
Inherited from PackageObject :
__cmp__ ,
__eq__ ,
__getitem__ ,
__ne__ ,
__repr__ ,
__str__ ,
returnIdSum ,
returnSimple ,
verCMP ,
verEQ ,
verGE ,
verGT ,
verLE ,
verLT
Inherited from RpmBase :
__hash__ ,
checkPrco ,
getProvidesNames ,
inPrcoRange ,
matchingPrcos ,
returnChangelog ,
returnEVR ,
returnFileEntries ,
returnFileTypes ,
returnPrco ,
returnPrcoNames ,
simpleFiles
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__setattr__ ,
__sizeof__ ,
__subclasshook__
|