Conary:Group Recipe Classes
From rPath Wiki
Conary group recipe classes provide the interface for creating groups in a Conary recipe. See the Group Recipe main page for the description of group recipes. Special group recipe parameters can be specified to the GroupRecipe class when building a group with Conary. These parameters are summarized here (with default values in parentheses), and detailed further in the PARAMETERS section of the Group Recipe API Documentation.
- depCheck (False)
- This parameter controls whether Conary should check for dependency closure in the group. If this parameter is set True (it is False by default), then Conary will raise an error if the closure in the dependencies comprising the group is not found.
- autoResolve (False)
- This parameter controls whether Conary should include the necessary troves which automatically resolve dependencies in the group.
- checkOnlyByDefaultDeps (True)
- This parameter controls whether Conary should check for dependencies in troves which are installed by default only. If this parameter is set to False, then Conary will check dependencies in troves which are not specified to be installed by default in addition to those which will be installed by default.
- checkPathConflicts (True)
- This parameter controls whether Conary should check for path conflicts in each group to ensure that the group can be installed without conflicts. Set this parameter value to False to disable checking for path conflicts.
The following group recipe classes are available for building group recipes with Conary:
| r.add | Adds a trove to a group |
| r.addAll | Add all troves directly contained in a given reference to groupName |
| r.addCopy | Create a copy of name and add that copy to groupName |
| r.addNewGroup | Adds one newly created group to another newly created group |
| r.addResolveSource | Specifies an alternate source for dependency resolution |
| r.createGroup | Creates a new group |
| r.remove | Removes a trove |
| r.removeComponents | Define components which should not be installed |
| r.Requires | Defines a runtime requirement for group |
| r.replace | Replace troves |
| r.setByDefault | Set troves to be added to group by default |
| r.setDefaultGroup | Defines default group |
| r.setLabelPath | Specify the labelPath to search for troves |
| r.setSearchPath | Specify the searchPath used to search for troves; use this to build the group for a specific version of rPath Linux |
