1
2
3
4
5
6
7
8
9
10
11
12
13
14 import copy
15 from itertools import chain, izip
16
17 from conary.build import policy
18 from conary.build.recipe import Recipe, RECIPE_TYPE_GROUP, loadMacros
19 from conary.build.errors import RecipeFileError, CookError, GroupPathConflicts
20 from conary.build.errors import GroupDependencyFailure, GroupCyclesError
21 from conary.build.errors import GroupAddAllError, GroupImplicitReplaceError
22 from conary.build.errors import GroupUnmatchedReplaces, GroupUnmatchedRemoves
23 from conary.build.errors import GroupUnmatchedGlobalReplaces
24 from conary.build import macros
25 from conary.build import trovefilter
26 from conary.build import use
27 from conary import conaryclient
28 from conary import callbacks
29 from conary.deps import deps
30 from conary import errors
31 from conary.lib import graph, log, util
32 from conary.repository import changeset, trovesource, searchsource
33 from conary import trove
34 from conary import versions
35
36
37 ADD_REASON_ADDED = 0
38 ADD_REASON_DEP = 1
39 ADD_REASON_INCLUDED = 2
40 ADD_REASON_ADDALL = 3
41 ADD_REASON_REPLACE = 4
42 ADD_REASON_INCLUDED_GROUP = 5
43 ADD_REASON_COPIED = 6
44
45 ADDALL_NORECURSE = 0
46 ADDALL_RECURSE = 1
47 ADDALL_FLATTEN = 2
48
50
51 __slots__ = [ 'ref', 'recurse', 'copyCompatibilityClass', 'copyScripts',
52 'requireLatest']
53