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

Module use

source code

Provides the build configuration as special dictionaries that directly export their namespaces.

Classes [hide private]
  Flag
  Collection
  CollectionWithFlag
CollectionWithFlag.
  NoSuchUseFlagError
  NoSuchArchFlagError
  NoSuchSubArchFlagError
  ArchCollection
  MajorArch
  SubArch
  UseFlag
  UseCollection
  LocalFlag
  LocalFlagCollection
  PackageFlagCollection
  PackageFlagPackageCollection
  PackageFlag
Functions [hide private]
 
allowUnknownFlags(value=True) source code
 
setUsed(flagList) source code
 
resetUsed() source code
 
clearFlags()
Remove all build flags so that the set of flags can be repopulated
source code
 
clearLocalFlags() source code
 
track(value=True) source code
 
iterAll() source code
 
getUsed() source code
 
iterUsed() source code
 
usedFlagsToFlavor(recipeName) source code
 
allFlagsToFlavor(recipeName) source code
 
localFlagsToFlavor(recipeName) source code
 
platformFlagsToFlavor(recipeName=None) source code
 
createFlavor(recipeName, *flagIterables, **kw)
create a dependency set consisting of all of the flags in the given flagIterables.
source code
 
setBuildFlagsFromFlavor(recipeName, flavor, error=True, warn=False)
Sets the truth of the build Flags based on the build flavor.
source code
Variables [hide private]
  Arch = Arch: {}
  Use = Use: {}
  LocalFlags = Flags: {}
  PackageFlags = PackageFlags: {}
Function Details [hide private]

createFlavor(recipeName, *flagIterables, **kw)

source code 
create a dependency set consisting of all of the flags in the given flagIterables. Note that is a broad category that includes lists, iterators, etc. RecipeName is the recipe which local flags should be relative to, can be set to None if there are definitely no local flags in the flagIterables.

setBuildFlagsFromFlavor(recipeName, flavor, error=True, warn=False)

source code 
Sets the truth of the build Flags based on the build flavor. All the set build flags must already exist. Flags not mentioned in this flavor will be untouched. XXX should this create flags as well as set them? Problem with that is that we don't know whether the flag is required or not based on the flavor; we would only be able to do as half-baked job