Package yum :: Module packages :: Class YumHeaderPackage
[hide private]
[frames] | no frames]

Class YumHeaderPackage

source code


Package object built from an rpm header

Instance Methods [hide private]
 
__init__(self, repo, hdr)
hand in an rpm header, we'll assume it's installed and query from there
source code
 
__str__(self)
str(x)
source code
 
returnPrco(self, prcotype, printable=False)
return list of provides, requires, conflicts or obsoletes
source code
 
_get_hdr(self) source code
 
_populatePrco(self)
Populate the package object with the needed PRCO interface.
source code
 
tagByName(self, tag) source code
 
__getattr__(self, thing) source code
 
doepoch(self) source code
 
returnLocalHeader(self)
returns an rpm header object from the package object's local header cache
source code
 
_loadFiles(self) source code
 
returnFileEntries(self, ftype='file', primary_only=False)
return list of files based on type
source code
 
returnChangelog(self)
return changelog entries
source code
 
returnChecksums(self) source code
 
_size(self) source code
 
_is_pre_req(self, flag)
check the flags for a requirement, return 1 or 0 whether or not requires is a pre-requires or a not
source code
 
_requires_with_pre(self)
returns requires with pre-require bit
source code

Inherited from YumAvailablePackage: compactPrint, exclude, getDiscNum, importFromDict, localHdr, localPkg, prcoPrintable, printVer, requiresList, returnHeaderFromPackage, verifyLocalPkg, xml_dump_filelists_metadata, xml_dump_other_metadata, xml_dump_primary_metadata

Inherited from PackageObject: __cmp__, __eq__, __getitem__, __ne__, __repr__, returnIdSum, returnSimple, verCMP, verEQ, verGE, verGT, verLE, verLT

Inherited from PackageObject (private): _ui_envra, _ui_nevra

Inherited from RpmBase: __hash__, checkPrco, getProvidesNames, inPrcoRange, matchingPrcos, returnEVR, returnFileTypes, returnPrcoNames, simpleFiles

Inherited from RpmBase (private): _getBaseName

Inherited from object: __delattr__, __format__, __getattribute__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Properties [hide private]

Inherited from YumAvailablePackage: checksum, committer, committime, remote_path, remote_url, size, ui_from_repo

Inherited from PackageObject: checksums, ui_envra, ui_nevra

Inherited from RpmBase: EVR, base_package_name, changelog, conflicts, conflicts_names, conflicts_print, dirlist, filelist, ghostlist, obsoletes, obsoletes_names, obsoletes_print, provides, provides_names, provides_print, requires, requires_names, requires_print

Inherited from object: __class__

Method Details [hide private]

__init__(self, repo, hdr)
(Constructor)

source code 

hand in an rpm header, we'll assume it's installed and query from there

Overrides: object.__init__

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)

returnPrco(self, prcotype, printable=False)

source code 

return list of provides, requires, conflicts or obsoletes

Overrides: RpmBase.returnPrco
(inherited documentation)

returnLocalHeader(self)

source code 

returns an rpm header object from the package object's local header cache

Overrides: YumAvailablePackage.returnLocalHeader
(inherited documentation)

returnFileEntries(self, ftype='file', primary_only=False)

source code 

return list of files based on type

Overrides: RpmBase.returnFileEntries

returnChangelog(self)

source code 

return changelog entries

Overrides: RpmBase.returnChangelog
(inherited documentation)

returnChecksums(self)

source code 
Overrides: PackageObject.returnChecksums

_size(self)

source code 
Overrides: YumAvailablePackage._size

_requires_with_pre(self)

source code 

returns requires with pre-require bit

Overrides: YumAvailablePackage._requires_with_pre