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

Class BuildCommand

source code

  action.Action --+        
                  |        
action.RecipeAction --+    
                      |    
            BuildAction --+
                          |
  action.Action --+       |
                  |       |
action.RecipeAction --+   |
                      |   |
    action.ShellCommand --+
                          |
                         BuildCommand
Known Subclasses:
Ant, Automake, Configure, ClassPath, CompilePython, Desktopfile, JavaCompile, Ldconfig, Make, PythonSetup, Run, SGMLCatalogEntry, XMLCatalogEntry

Pure virtual class which implements the do method, based on the shell command built from a template.

Instance Methods [hide private]
 
__init__(self, recipe, *args, **keywords) source code
None
do(self, macros)
Method which is used if the ShellCommand instance is invoked during build
source code

Inherited from BuildAction: doAction, initManifest, missingFiles

Inherited from action.RecipeAction: doPrep, doSuggestAutoBuildReqs, init_error

Inherited from action.Action: addArgs

Inherited from action.Action (private): _applyDefaults

Class Variables [hide private]

Inherited from BuildAction: keywords, useExplicitManifest

Inherited from action.ShellCommand: template

Instance Variables [hide private]

Inherited from action.ShellCommand: self.command

Method Details [hide private]

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

source code 
Overrides: BuildAction.__init__
(inherited documentation)

do(self, macros)

source code 
Method which is used if the ShellCommand instance is invoked during build
Parameters:
  • macros (macros.Macros) - macros which will be expanded through dictionary substitution in self.command
Returns: None
None
Overrides: BuildAction.do