Package entropy :: Module spm :: Class SpmPlugin

Class SpmPlugin

source code


Base class for Source Package Manager plugins

Nested Classes
  paren_normalize
Take a dependency structure as returned by paren_reduce or use_reduce and generate an equivalent structure that has no redundant lists.
Instance Methods
 
init_singleton(self, output_interface)
Source Package Manager Plugin singleton method.
source code

Inherited from core.Singleton: is_destroyed, is_singleton

Inherited from object: __delattr__, __getattribute__, __hash__, __init__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Static Methods

Inherited from core.Singleton: __new__

Properties

Inherited from object: __class__

Method Details

init_singleton(self, output_interface)

source code 

Source Package Manager Plugin singleton method. This method must be reimplemented by subclasses.

Parameters:
  • output_interface (entropy.output.TextInterface based instances) - Entropy output interface
Raises:
  • NotImplementedError - when method is not reimplemented