| Home | Trees | Indices | Help |
|
|---|
|
|
action.Action --+
|
action.RecipeAction --+
|
policy.BasePolicy --+
|
policy.Policy --+
|
ByDefault
r.ByDefault() - Determines components to be
installed by default
r.ByDefault([inclusions ||
exceptions=exceptions])
The r.ByDefault() policy determines which components
should be installed by default at the time the package is installed on
the system. The default setting for the ByDefault policy
is that the :debug, and :test packages are
not installed with the package.
package:component or
:component. Inclusions are considered before
exceptions, and inclusions and exceptions are considered in the order
provided in the recipe, and first match wins.
r.ByDefault(exceptions=[':manual'])
Uses r.ByDefault to ignore :manual
components when enforcing the policy.
r.ByDefault(exceptions=[':manual'])
r.ByDefault('foo:manual')
bar package, and there is
both a foo:manual and a bar:manual component,
then the foo:manual component will be installed by default
when the foo package is installed, but the
bar:manual component will not be installed by default when
the bar package is installed.
|
|||
| None |
|
||
|
Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from |
|||
|
|||
bucket = 8
|
|||
requires =
|
|||
filetree = 0where 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).
|
|||
invariantexceptions = subclasses may set to a list of exception filters that are always applied regardless of what other exceptions may be provided by the recipe; these exceptions being applied is an invariant condition of the doFile method.
|
|||
allowUnusedFilters = True
|
|||
|
Inherited from Inherited from |
|||
|
|||
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0beta1 on Tue Jan 6 18:26:09 2009 | http://epydoc.sourceforge.net |