Package archive :: Module mappers :: Class PolicyRemoverMapper
[hide private]
[frames] | no frames]

Class PolicyRemoverMapper

source code

object --+        
         |        
    Mapper --+    
             |    
  PolicyMapper --+
                 |
                PolicyRemoverMapper

This class implements a variant of the policy mapper.

It removes the internal source. Only binary flagged content is kept.



Instance Methods [hide private]
 
__init__(self, config, archiver)
Initialization.
source code
 
get_policy_root_dir(self)
Return the policy.root.dir or root.dir if not set or not under root.dir.
source code
 
get_rmdir_policy(self, dirname)
check if the directory should be dropped or not
source code
 
create_commands(self, manifest)
Generates a list of build commands.
source code

Inherited from PolicyMapper: get_dir_policy, get_policy_filenames, load_policy_binary, zip2zip

Inherited from PolicyMapper (private): _sort_by_policy

Inherited from Mapper: declare_package

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, config, archiver)
(Constructor)

source code 
Initialization.
Overrides: PolicyMapper.__init__

create_commands(self, manifest)

source code 
Generates a list of build commands.
Overrides: PolicyMapper.create_commands