Package _emerge :: Module EbuildMetadataPhase :: Class EbuildMetadataPhase
[hide private]

Class EbuildMetadataPhase

source code

                        object --+                
                                 |                
portage.util.SlotObject.SlotObject --+            
                                     |            
     AsynchronousTask.AsynchronousTask --+        
                                         |        
         AbstractPollTask.AbstractPollTask --+    
                                             |    
                         SubProcess.SubProcess --+
                                                 |
                                                EbuildMetadataPhase

Asynchronous interface for the ebuild "depend" phase which is used to extract metadata from the ebuild.

Nested Classes [hide private]
  _files_dict
Instance Methods [hide private]
 
_start(self) source code
 
_output_handler(self, fd, event) source code
 
_set_returncode(self, wait_retval)
Set the returncode in a manner compatible with subprocess.Popen.returncode: A negative value -N indicates that the child was terminated by signal N (Unix only).
source code
 
_eapi_invalid(self, metadata) source code

Inherited from SubProcess.SubProcess: isAlive

Inherited from AsynchronousTask.AsynchronousTask: addExitListener, addStartListener, cancel, poll, removeExitListener, removeStartListener, start, wait

Inherited from portage.util.SlotObject.SlotObject: __init__, copy

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

Class Variables [hide private]
  _file_names = ('ebuild')

Inherited from SubProcess.SubProcess (private): _cancel_timeout

Inherited from AbstractPollTask.AbstractPollTask (private): _bufsize

Properties [hide private]
  _eapi
  _eapi_lineno
  _raw_metadata
  cpv
  eapi_supported
  ebuild_hash
  fd_pipes
  metadata
  portdb
  repo_path
  settings
  write_auxdb

Inherited from SubProcess.SubProcess: pid

Inherited from SubProcess.SubProcess (private): _dummy_pipe_fd, _files, _reg_id

Inherited from AbstractPollTask.AbstractPollTask: scheduler

Inherited from AsynchronousTask.AsynchronousTask: background, cancelled, returncode

Inherited from object: __class__

Method Details [hide private]

_start(self)

source code 
Overrides: AsynchronousTask.AsynchronousTask._start

_set_returncode(self, wait_retval)

source code 

Set the returncode in a manner compatible with subprocess.Popen.returncode: A negative value -N indicates that the child was terminated by signal N (Unix only).

Overrides: SubProcess.SubProcess._set_returncode
(inherited documentation)