Package portage :: Package _sets :: Module shell :: Class CommandOutputSet
[hide private]

Class CommandOutputSet

source code

     object --+    
base.PackageSet --+

This class creates a PackageSet from the output of a shell command.
The shell command should produce one atom per line, that is:

>>> atom1

  name: A string that identifies the set.
  command: A string or sequence identifying the command to run
  (see the subprocess.Popen documentaion for the format)

Instance Methods [hide private]
__init__(self, command)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
load(self) source code

Inherited from base.PackageSet: __bool__, __contains__, __iter__, __nonzero__, containsCPV, findAtomForPackage, getAtoms, getMetadata, getNonAtoms, iterAtomsForPackage, supportsOperation

Inherited from base.PackageSet (private): _load, _setAtoms, _updateAtomMap

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

Class Methods [hide private]
singleBuilder(self, options, settings, trees) source code
Class Variables [hide private]
  _operations = ['merge', 'unmerge']

Inherited from base.PackageSet: description

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, command)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)


source code 
Overrides: base.PackageSet.load