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

Class reportMissingBuildRequires

source code

  action.Action --+            
                  |            
action.RecipeAction --+        
                      |        
      policy.BasePolicy --+    
                          |    
              policy.Policy --+
                              |
                             reportMissingBuildRequires

This policy is used to report together all suggestions for additions to the buildRequires list. Do not call it directly; it is for internal use only.

Instance Methods [hide private]
 
__init__(self, *args, **keywords) source code
 
updateArgs(self, *args, **keywords)
The default way to update a class is to override any provided keywords.
source code
 
do(self) source code

Inherited from policy.Policy: compileFilters, doProcess, filterExpArgs, filterExpression, mtimeChanged, policyException, policyInclusion, walkDir

Inherited from policy.BasePolicy: dbg, error, info, postInit, postPolicy, warn

Inherited from policy.BasePolicy (private): _addClassName, _pathAllowed

Inherited from action.RecipeAction: doAction, doPrep, doSuggestAutoBuildReqs, init_error

Inherited from action.Action: addArgs

Inherited from action.Action (private): _applyDefaults

Class Variables [hide private]
  bucket = 64
  processUnmodified = True
allows special handling for derived packages in order to make only appropriate changes in the derived package.
  filetree = 0
where to look for files to which to apply the policy: policy.DESTDIR, the default, walks the files in the destdir, policy.BUILDDIR walks the files in the build directory, and policy.PACKAGE iterates over the packaged files rather than walking the destdir, which besides being possibly faster also applies to files that are not on the filesystem (like device nodes).

Inherited from policy.Policy: invariantexceptions, invariantinclusions, invariantsubtrees, keywords, recursive, rootdir

Inherited from policy.BasePolicy: allowUnusedFilters

Method Details [hide private]

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

source code 
Overrides: policy.Policy.__init__
(inherited documentation)

updateArgs(self, *args, **keywords)

source code 

The default way to update a class is to override any provided keywords. Subclasses which have the ability to provide more intelligent handling can override this method. This method is invoked automatically by recipe.py when a recipe references a policy object. It acts rather like __init__ except that it can meaningfully be called more than once for an object.

Some keyword arguments (at least exceptions and subtrees) should be appended rather than replaced.
Overrides: policy.BasePolicy.updateArgs
(inherited documentation)

do(self)

source code 
Overrides: policy.Policy.do