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

Class PackageObject

source code


Base Package Object - sets up the default storage dicts and the most common returns

Instance Methods [hide private]
 
__init__(self)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
_ui_envra(self) source code
 
_ui_nevra(self) source code
 
__str__(self)
str(x)
source code
 
verCMP(self, other)
Compare package to another one, only rpm-version ordering.
source code
 
__cmp__(self, other)
Compare packages, this is just for UI/consistency.
source code
 
__eq__(self, other)
Compare packages for yes/no equality, includes everything in the UI package comparison.
source code
 
__ne__(self, other) source code
 
__getitem__(self, key) source code
 
verEQ(self, other)
Compare package to another one, only rpm-version equality.
source code
 
verLT(self, other)
Uses verCMP, tests if the other _rpm-version_ is < ours.
source code
 
verLE(self, other)
Uses verCMP, tests if the other _rpm-version_ is <= ours.
source code
 
verGT(self, other)
Uses verCMP, tests if the other _rpm-version_ is > ours.
source code
 
verGE(self, other)
Uses verCMP, tests if the other _rpm-version_ is >= ours.
source code
 
__repr__(self)
repr(x)
source code
 
returnSimple(self, varname) source code
 
returnChecksums(self) source code
 
returnIdSum(self) source code

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

Properties [hide private]
  ui_envra
  ui_nevra
  checksums

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)

__repr__(self)
(Representation operator)

source code 

repr(x)

Overrides: object.__repr__
(inherited documentation)

Property Details [hide private]

ui_envra

Get Method:
unreachable(self)

ui_nevra

Get Method:
unreachable(self)

checksums

Get Method:
unreachable(self)