Package yum :: Module packageSack
[hide private]
[frames] | no frames]

Module packageSack

source code

Classes for manipulating and querying groups of packages.

Classes [hide private]
  PackageSackVersion
  PackageSackBase
Base class that provides the interface for PackageSacks.
  MetaSack
Represents the aggregate of multiple package sacks, such that they can all be treated as one unified sack.
  PackageSack
represents sets (sacks) of Package Objects
  ListPackageSack
Derived class from PackageSack to build new Sack from list of pkgObjects - like one returned from self.returnNewestByNameArch() or self.returnNewestByName()
Functions [hide private]
 
packagesNewestByName(pkgs)
Does the same as PackageSack.returnNewestByName().
source code
 
packagesNewestByNameArch(pkgs)
Does the same as PackageSack.returnNewestByNameArch()
source code
Variables [hide private]
  __package__ = 'yum'
Function Details [hide private]

packagesNewestByName(pkgs)

source code 

Does the same as PackageSack.returnNewestByName(). Note that given: foo-1.i386; foo-2.i386 and foo-3.x86_64 The last _two_ pkgs will be returned, not just one of them.