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

Class FilesetRecipe

source code

   object --+    
            |    
recipe.Recipe --+
                |
               FilesetRecipe
Known Subclasses:
explain.DummyFilesetRecipe

Instance Methods [hide private]
 
addFileFromPackage(self, pattern, pkg, recurse, remapList) source code
 
addFile(self, pattern, component, versionStr=None, recurse=True, remap=[]) source code
 
_addFile(self, pkg, itemList)
Adds files which match pattern from version versionStr of component.
source code
 
findAllFiles(self) source code
 
iterFileList(self) source code
 
__init__(self, repos, cfg, label, flavor, extraMacros={}, laReposCache=None, srcdirs=None) source code

Inherited from recipe.Recipe: __getattr__, __repr__, doProcess, extraSource, fetchAllSources, fetchLocalSources, getSourcePathList, isCrossCompileTool, loadPolicy, loadSourceActions, move, populateLcache, prepSources, recordCalls, recordMove, sourceMap, unpackSources, validate

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

Class Methods [hide private]

Inherited from recipe.Recipe: getType, validateClass

Class Variables [hide private]
  _recipeType = 2
  internalAbstractBaseClass = 1
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

_addFile(self, pkg, itemList)

source code 
Adds files which match pattern from version versionStr of component. Pattern is glob-style, with brace expansion. If recurse is set, anything below a directory which matches pattern is also included, and the directory itself does not have to be part of the trove. Remap is a list of (oldPath, newPath) tuples. The first oldPath which matches the start of a matched pattern is rewritten as newPath.

__init__(self, repos, cfg, label, flavor, extraMacros={}, laReposCache=None, srcdirs=None)
(Constructor)

source code 
Overrides: recipe.Recipe.__init__