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

Class PackageUninstall

source code

                        object --+            
                                 |            
portage.util.SlotObject.SlotObject --+        
                                     |        
     AsynchronousTask.AsynchronousTask --+    
                                         |    
               CompositeTask.CompositeTask --+
                                             |
                                            PackageUninstall

Uninstall a package asynchronously in a subprocess. When both parallel-install and ebuild-locks FEATURES are enabled, it is essential for the ebuild-locks code to execute in a subprocess, since the portage.locks module does not behave as desired if we try to lock the same file multiple times concurrently from the same process for ebuild-locks phases such as pkg_setup, pkg_prerm, and pkg_postrm.

Instance Methods [hide private]
 
_start(self) source code
 
_unmerge_exit(self, unmerge_task) source code
 
_emergelog(self, msg) source code
 
_writemsg_level(self, msg, level=0, noiselevel=0) source code

Inherited from CompositeTask.CompositeTask: 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]

Inherited from CompositeTask.CompositeTask (private): _TASK_QUEUED

Properties [hide private]
  _builddir_lock
  ldpath_mtimes
  opts
  pkg
  settings
  world_atom

Inherited from CompositeTask.CompositeTask: scheduler

Inherited from CompositeTask.CompositeTask (private): _current_task

Inherited from AsynchronousTask.AsynchronousTask: background, cancelled, returncode

Inherited from object: __class__

Method Details [hide private]

_start(self)

source code 
Overrides: AsynchronousTask.AsynchronousTask._start