Package portage :: Package dbapi :: Module porttree :: Class portagetree
[hide private]

Class portagetree

source code

object --+
         |
        portagetree

Instance Methods [hide private]
 
__init__(self, root=<type 'exceptions.DeprecationWarning'>, virtual=<type 'exceptions.DeprecationWarning'>, settings=None)
Constructor for a PortageTree
source code
 
dep_bestmatch(self, mydep)
compatibility method
source code
 
dep_match(self, mydep)
compatibility method
source code
 
exists_specific(self, cpv) source code
 
getallnodes(self)
new behavior: these are all *unmasked* nodes.
source code
 
getname(self, pkgname)
returns file location for this particular package (DEPRECATED)
source code
 
getslot(self, mycatpkg)
Get a slot for a catpkg; assume it exists.
source code

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

Properties [hide private]
  root
  virtual

Inherited from object: __class__

Method Details [hide private]

__init__(self, root=<type 'exceptions.DeprecationWarning'>, virtual=<type 'exceptions.DeprecationWarning'>, settings=None)
(Constructor)

source code 

Constructor for a PortageTree

Parameters:
  • root (String/Path) - deprecated, defaults to settings['ROOT']
  • virtual (No Idea) - UNUSED
  • settings (Instance of portage.config) - Portage Configuration object (portage.settings)
Overrides: object.__init__

getallnodes(self)

source code 

new behavior: these are all *unmasked* nodes. There may or may not be available masked package for nodes in this nodes list.


Property Details [hide private]

root

Get Method:
unreachable.root(self)

virtual

Get Method:
unreachable.virtual(self)