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

Class UserInfoRecipe

source code

                     object --+            
                              |            
                  recipe.Recipe --+        
                                  |        
packagerecipe.AbstractPackageRecipe --+    
                                      |    
                    UserGroupInfoRecipe --+
                                          |
                                         UserInfoRecipe
Known Subclasses:
explain.DummyUserInfoRecipe


NAME
====
B{C{UserInfoRecipe}} - Build user info pacakges

SYNOPSIS
========

C{UserInfoRecipe} is used to create packages that define a system user

DESCRIPTION
===========

The C{UserInfoRecipe} class provides an interface to define a system
user through the C{r.User} method.  The C{r.User} method is also
available in the C{PackageRecipe} class.

EXAMPLE
=======
A sample class that uses C{UserInfoRecipe} to define a user

    class ExamplePackage(UserInfoRecipe):
        name = 'info-example'
        version = '1.0'

        def setup(r):
            r.User('example', 500)



Nested Classes [hide private]

Inherited from UserGroupInfoRecipe: basePolicyClass

Instance Methods [hide private]

Inherited from UserGroupInfoRecipe: __getattr__, loadPolicy

Inherited from UserGroupInfoRecipe (private): _loadSourceActions

Inherited from packagerecipe.AbstractPackageRecipe: __delattr__, __init__, byDefault, checkBuildRequirements, cleanup, disableParallelMake, doBuild, extraBuild, getBuildRequirementTroves, getCrossRequirementTroves, getDerivedFrom, getPackages, getRecursiveBuildRequirements, getRepos, getSubscribeLogPath, glob, isCrossCompileTool, isCrossCompiling, isatty, iterResumeList, loadSourceActions, mainDir, nameVer, needsCrossFlags, processResumeList, regexp, setByDefaultOff, setByDefaultOn, setCrossCompile, setDerivedFrom, setRepos, setupAbstractBaseClass, subscribeLogs, synchronizeLogs, validate

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

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

Class Methods [hide private]

Inherited from recipe.Recipe: getType, validateClass

Class Variables [hide private]
  internalAbstractBaseClass = 1

Inherited from UserGroupInfoRecipe: buildRequires

Inherited from UserGroupInfoRecipe (private): _recipeType

Inherited from packagerecipe.AbstractPackageRecipe: Flags, buildRequirementsOverride, crossRequirementsOverride, crossRequires, explicitMainDir, internalPolicyModules

Properties [hide private]

Inherited from object: __class__