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

Class YumUrlPackage

source code


Class to handle an arbitrary package from a URL this inherits most things from YumLocalPackage, but will download a remote package to make it local. init takes a YumBase, a ts instance and a url to the package.

Instance Methods [hide private]
 
__init__(self, yb=None, ts=None, url=None, ua=None)
hand in an rpm header, we'll assume it's installed and query from there
source code

Inherited from YumLocalPackage: isSrpm, localPkg, returnChecksums, verifyLocalPkg

Inherited from YumHeaderPackage: __getattr__, __str__, doepoch, returnChangelog, returnFileEntries, returnLocalHeader, returnPrco, tagByName

Inherited from YumAvailablePackage: compactPrint, exclude, getDiscNum, importFromDict, localHdr, prcoPrintable, printVer, requiresList, returnHeaderFromPackage, 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 YumLocalPackage: checksum, hdrend, hdrstart

Inherited from YumAvailablePackage: 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, yb=None, ts=None, url=None, ua=None)
(Constructor)

source code 

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

Overrides: object.__init__
(inherited documentation)