Package conary :: Package build :: Module build :: Class BuildAction
[hide private]
[frames] | no frames]

Class BuildAction

source code

  action.Action --+    
                  |    
action.RecipeAction --+
                      |
                     BuildAction
Known Subclasses:
BuildCommand, ConsoleHelper, _FileAction, Environment, _UserGroupBuildAction, IncludeLicense, Remove, Replace

Pure virtual class which inherits from action.RecipeAction but passes macros to the do() method.

Instance Methods [hide private]
 
__init__(self, recipe, *args, **keywords) source code
 
initManifest(self, recipe) source code
 
doAction(self) source code
 
do(self, macros)
Do the build action
source code
 
missingFiles(self, files, warn=False) source code

Inherited from action.RecipeAction: doPrep, doSuggestAutoBuildReqs, init_error

Inherited from action.Action: addArgs

Inherited from action.Action (private): _applyDefaults

Class Variables [hide private]
  keywords = {'package': None}
The keywords and default values accepted by the class
  useExplicitManifest = False
Method Details [hide private]

__init__(self, recipe, *args, **keywords)
(Constructor)

source code 
Parameters:
  • use (None, Use flag, or sequence of Use flags) - Optional argument; Use flag(s) telling whether to actually perform the action.
Overrides: action.RecipeAction.__init__

doAction(self)

source code 
Overrides: action.RecipeAction.doAction

do(self, macros)

source code 
Do the build action
Parameters:
  • macros (macros.Macros) - macro set to be used for expansion
Overrides: action.RecipeAction.do