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

Module action

source code

Provides superclasses for build and policy.

Classes [hide private]
  _AnyDict
A dictionary that returns None for any key that is accessed.
  Action
Pure virtual base class for all actions -- classes which are instantiated with data, and later asked to take an action based on that data.
  RecipeAction
Action class which accepts the use= keyword to control execution, and which assumes that the action is being called from within a recipe.
  ShellCommand
Base class for shell-based commands.
  Regexp
  Glob
  _pathLookupCache
Simple cache object for path lookups (singleton-like)
Functions [hide private]
 
checkUse(use)
Determines whether to take an action, based on system configuration
source code
 
genExcepthook(self) source code
 
_expandOnePath(path, macros, defaultDir=None, braceGlob=False, error=False) source code
 
matchRegexp(baseDir, pattern, regexpFlags) source code
 
_expandPaths(paths, macros, defaultDir=None, braceGlob=True, error=False)
Expand braces, globs, and macros in path names, and root all path names to either the build dir or dest dir.
source code
Function Details [hide private]

checkUse(use)

source code 
Determines whether to take an action, based on system configuration
Parameters:
  • use (None, boolean, or tuple of booleans) - Flags telling whether to take action

_expandPaths(paths, macros, defaultDir=None, braceGlob=True, error=False)

source code 
Expand braces, globs, and macros in path names, and root all path names to either the build dir or dest dir. Relative paths (not starting with a /) are relative to builddir. All absolute paths to are relative to destdir.