annotate runtime/syntax/conaryrecipe.vim @ 8580:594b539a8feb

Added tag v7.4.1579 for changeset 556817999955a38e6640f9a7ab55167185ff8604
author Christian Brabandt <cb@256bit.org>
date Tue, 15 Mar 2016 23:30:07 +0100
parents 73fe8baea242
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1199
3acf7c922a04 updated for version 7.1b
vimboss
parents:
diff changeset
1 " Vim syntax file
3acf7c922a04 updated for version 7.1b
vimboss
parents:
diff changeset
2 " Language: Conary Recipe
3acf7c922a04 updated for version 7.1b
vimboss
parents:
diff changeset
3 " Maintainer: rPath Inc <http://www.rpath.com>
1620
73fe8baea242 updated for version 7.2a
vimboss
parents: 1199
diff changeset
4 " Updated: 2007-12-08
1199
3acf7c922a04 updated for version 7.1b
vimboss
parents:
diff changeset
5
3acf7c922a04 updated for version 7.1b
vimboss
parents:
diff changeset
6 if exists("b:current_syntax")
3acf7c922a04 updated for version 7.1b
vimboss
parents:
diff changeset
7 finish
3acf7c922a04 updated for version 7.1b
vimboss
parents:
diff changeset
8 endif
3acf7c922a04 updated for version 7.1b
vimboss
parents:
diff changeset
9
3acf7c922a04 updated for version 7.1b
vimboss
parents:
diff changeset
10 runtime! syntax/python.vim
1620
73fe8baea242 updated for version 7.2a
vimboss
parents: 1199
diff changeset
11
1199
3acf7c922a04 updated for version 7.1b
vimboss
parents:
diff changeset
12 syn keyword conarySFunction mainDir addAction addSource addArchive addPatch
3acf7c922a04 updated for version 7.1b
vimboss
parents:
diff changeset
13 syn keyword conarySFunction addRedirect addSvnSnapshot addMercurialSnapshot
1620
73fe8baea242 updated for version 7.2a
vimboss
parents: 1199
diff changeset
14 syn keyword conarySFunction addCvsSnapshot addGitSnapshot addBzrSnapshot
1199
3acf7c922a04 updated for version 7.1b
vimboss
parents:
diff changeset
15
1620
73fe8baea242 updated for version 7.2a
vimboss
parents: 1199
diff changeset
16 syn keyword conaryGFunction add addAll addNewGroup addReference createGroup
73fe8baea242 updated for version 7.2a
vimboss
parents: 1199
diff changeset
17 syn keyword conaryGFunction addNewGroup startGroup remove removeComponents
73fe8baea242 updated for version 7.2a
vimboss
parents: 1199
diff changeset
18 syn keyword conaryGFunction replace setByDefault setDefaultGroup
73fe8baea242 updated for version 7.2a
vimboss
parents: 1199
diff changeset
19 syn keyword conaryGFunction setLabelPath addCopy setSearchPath AddAllFlags
73fe8baea242 updated for version 7.2a
vimboss
parents: 1199
diff changeset
20 syn keyword conaryGFunction GroupRecipe GroupReference TroveCacheWrapper
73fe8baea242 updated for version 7.2a
vimboss
parents: 1199
diff changeset
21 syn keyword conaryGFunction TroveCache buildGroups findTrovesForGroups
73fe8baea242 updated for version 7.2a
vimboss
parents: 1199
diff changeset
22 syn keyword conaryGFunction followRedirect processAddAllDirectives
73fe8baea242 updated for version 7.2a
vimboss
parents: 1199
diff changeset
23 syn keyword conaryGFunction processOneAddAllDirective removeDifferences
73fe8baea242 updated for version 7.2a
vimboss
parents: 1199
diff changeset
24 syn keyword conaryGFunction addTrovesToGroup addCopiedComponents
73fe8baea242 updated for version 7.2a
vimboss
parents: 1199
diff changeset
25 syn keyword conaryGFunction findAllWeakTrovesToRemove checkForRedirects
73fe8baea242 updated for version 7.2a
vimboss
parents: 1199
diff changeset
26 syn keyword conaryGFunction addPackagesForComponents getResolveSource
73fe8baea242 updated for version 7.2a
vimboss
parents: 1199
diff changeset
27 syn keyword conaryGFunction resolveGroupDependencies checkGroupDependencies
73fe8baea242 updated for version 7.2a
vimboss
parents: 1199
diff changeset
28 syn keyword conaryGFunction calcSizeAndCheckHashes findSourcesForGroup
73fe8baea242 updated for version 7.2a
vimboss
parents: 1199
diff changeset
29 syn keyword conaryGFunction addPostInstallScript addPostRollbackScript
73fe8baea242 updated for version 7.2a
vimboss
parents: 1199
diff changeset
30 syn keyword conaryGFunction addPostUpdateScript addPreUpdateScript
73fe8baea242 updated for version 7.2a
vimboss
parents: 1199
diff changeset
31 syn keyword conaryGFunction addTrove moveComponents copyComponents
73fe8baea242 updated for version 7.2a
vimboss
parents: 1199
diff changeset
32 syn keyword conaryGFunction removeItemsAlsoInNewGroup removeItemsAlsoInGroup
73fe8baea242 updated for version 7.2a
vimboss
parents: 1199
diff changeset
33 syn keyword conaryGFunction addResolveSource iterReplaceSpecs
73fe8baea242 updated for version 7.2a
vimboss
parents: 1199
diff changeset
34 syn keyword conaryGFunction setCompatibilityClass getLabelPath
73fe8baea242 updated for version 7.2a
vimboss
parents: 1199
diff changeset
35 syn keyword conaryGFunction getResolveTroveSpecs getSearchFlavor
73fe8baea242 updated for version 7.2a
vimboss
parents: 1199
diff changeset
36 syn keyword conaryGFunction getChildGroups getGroupMap
1199
3acf7c922a04 updated for version 7.1b
vimboss
parents:
diff changeset
37
3acf7c922a04 updated for version 7.1b
vimboss
parents:
diff changeset
38 syn keyword conaryBFunction Run Automake Configure ManualConfigure
3acf7c922a04 updated for version 7.1b
vimboss
parents:
diff changeset
39 syn keyword conaryBFunction Make MakeParallelSubdir MakeInstall
3acf7c922a04 updated for version 7.1b
vimboss
parents:
diff changeset
40 syn keyword conaryBFunction MakePathsInstall CompilePython
3acf7c922a04 updated for version 7.1b
vimboss
parents:
diff changeset
41 syn keyword conaryBFunction Ldconfig Desktopfile Environment SetModes
3acf7c922a04 updated for version 7.1b
vimboss
parents:
diff changeset
42 syn keyword conaryBFunction Install Copy Move Symlink Link Remove Doc
3acf7c922a04 updated for version 7.1b
vimboss
parents:
diff changeset
43 syn keyword conaryBFunction Create MakeDirs disableParallelMake
3acf7c922a04 updated for version 7.1b
vimboss
parents:
diff changeset
44 syn keyword conaryBFunction ConsoleHelper Replace SGMLCatalogEntry
3acf7c922a04 updated for version 7.1b
vimboss
parents:
diff changeset
45 syn keyword conaryBFunction XInetdService XMLCatalogEntry TestSuite
1620
73fe8baea242 updated for version 7.2a
vimboss
parents: 1199
diff changeset
46 syn keyword conaryBFunction PythonSetup CMake Ant JavaCompile ClassPath
73fe8baea242 updated for version 7.2a
vimboss
parents: 1199
diff changeset
47 syn keyword conaryBFunction JavaDoc IncludeLicense MakeFIFO
1199
3acf7c922a04 updated for version 7.1b
vimboss
parents:
diff changeset
48
3acf7c922a04 updated for version 7.1b
vimboss
parents:
diff changeset
49 syn keyword conaryPFunction NonBinariesInBindirs FilesInMandir
3acf7c922a04 updated for version 7.1b
vimboss
parents:
diff changeset
50 syn keyword conaryPFunction ImproperlyShared CheckSonames CheckDestDir
3acf7c922a04 updated for version 7.1b
vimboss
parents:
diff changeset
51 syn keyword conaryPFunction ComponentSpec PackageSpec
3acf7c922a04 updated for version 7.1b
vimboss
parents:
diff changeset
52 syn keyword conaryPFunction Config InitScript GconfSchema SharedLibrary
3acf7c922a04 updated for version 7.1b
vimboss
parents:
diff changeset
53 syn keyword conaryPFunction ParseManifest MakeDevices DanglingSymlinks
3acf7c922a04 updated for version 7.1b
vimboss
parents:
diff changeset
54 syn keyword conaryPFunction AddModes WarnWriteable IgnoredSetuid
3acf7c922a04 updated for version 7.1b
vimboss
parents:
diff changeset
55 syn keyword conaryPFunction Ownership ExcludeDirectories
3acf7c922a04 updated for version 7.1b
vimboss
parents:
diff changeset
56 syn keyword conaryPFunction BadFilenames BadInterpreterPaths ByDefault
3acf7c922a04 updated for version 7.1b
vimboss
parents:
diff changeset
57 syn keyword conaryPFunction ComponentProvides ComponentRequires Flavor
3acf7c922a04 updated for version 7.1b
vimboss
parents:
diff changeset
58 syn keyword conaryPFunction EnforceConfigLogBuildRequirements Group
3acf7c922a04 updated for version 7.1b
vimboss
parents:
diff changeset
59 syn keyword conaryPFunction EnforceSonameBuildRequirements InitialContents
3acf7c922a04 updated for version 7.1b
vimboss
parents:
diff changeset
60 syn keyword conaryPFunction FilesForDirectories LinkCount
3acf7c922a04 updated for version 7.1b
vimboss
parents:
diff changeset
61 syn keyword conaryPFunction MakdeDevices NonMultilibComponent ObsoletePaths
3acf7c922a04 updated for version 7.1b
vimboss
parents:
diff changeset
62 syn keyword conaryPFunction NonMultilibDirectories NonUTF8Filenames TagSpec
3acf7c922a04 updated for version 7.1b
vimboss
parents:
diff changeset
63 syn keyword conaryPFunction Provides RequireChkconfig Requires TagHandler
3acf7c922a04 updated for version 7.1b
vimboss
parents:
diff changeset
64 syn keyword conaryPFunction TagDescription Transient User UtilizeGroup
3acf7c922a04 updated for version 7.1b
vimboss
parents:
diff changeset
65 syn keyword conaryPFunction WorldWritableExecutables UtilizeUser
3acf7c922a04 updated for version 7.1b
vimboss
parents:
diff changeset
66 syn keyword conaryPFunction WarnWritable Strip CheckDesktopFiles
1620
73fe8baea242 updated for version 7.2a
vimboss
parents: 1199
diff changeset
67 syn keyword conaryPFunction FixDirModes LinkType reportMissingBuildRequires
73fe8baea242 updated for version 7.2a
vimboss
parents: 1199
diff changeset
68 syn keyword conaryPFunction reportErrors FixupManpagePaths FixObsoletePaths
73fe8baea242 updated for version 7.2a
vimboss
parents: 1199
diff changeset
69 syn keyword conaryPFunction NonLSBPaths PythonEggs
73fe8baea242 updated for version 7.2a
vimboss
parents: 1199
diff changeset
70 syn keyword conaryPFunction EnforcePythonBuildRequirements
73fe8baea242 updated for version 7.2a
vimboss
parents: 1199
diff changeset
71 syn keyword conaryPFunction EnforceJavaBuildRequirements
73fe8baea242 updated for version 7.2a
vimboss
parents: 1199
diff changeset
72 syn keyword conaryPFunction EnforceCILBuildRequirements
73fe8baea242 updated for version 7.2a
vimboss
parents: 1199
diff changeset
73 syn keyword conaryPFunction EnforcePerlBuildRequirements
73fe8baea242 updated for version 7.2a
vimboss
parents: 1199
diff changeset
74 syn keyword conaryPFunction EnforceFlagBuildRequirements
73fe8baea242 updated for version 7.2a
vimboss
parents: 1199
diff changeset
75 syn keyword conaryPFunction FixupMultilibPaths ExecutableLibraries
73fe8baea242 updated for version 7.2a
vimboss
parents: 1199
diff changeset
76 syn keyword conaryPFunction NormalizeLibrarySymlinks NormalizeCompression
73fe8baea242 updated for version 7.2a
vimboss
parents: 1199
diff changeset
77 syn keyword conaryPFunction NormalizeManPages NormalizeInfoPages
73fe8baea242 updated for version 7.2a
vimboss
parents: 1199
diff changeset
78 syn keyword conaryPFunction NormalizeInitscriptLocation
73fe8baea242 updated for version 7.2a
vimboss
parents: 1199
diff changeset
79 syn keyword conaryPFunction NormalizeInitscriptContents
73fe8baea242 updated for version 7.2a
vimboss
parents: 1199
diff changeset
80 syn keyword conaryPFunction NormalizeAppDefaults NormalizeInterpreterPaths
73fe8baea242 updated for version 7.2a
vimboss
parents: 1199
diff changeset
81 syn keyword conaryPFunction NormalizePamConfig ReadableDocs
73fe8baea242 updated for version 7.2a
vimboss
parents: 1199
diff changeset
82 syn keyword conaryPFunction WorldWriteableExecutables NormalizePkgConfig
73fe8baea242 updated for version 7.2a
vimboss
parents: 1199
diff changeset
83 syn keyword conaryPFunction EtcConfig InstallBucket SupplementalGroup
73fe8baea242 updated for version 7.2a
vimboss
parents: 1199
diff changeset
84 syn keyword conaryPFunction FixBuilddirSymlink RelativeSymlinks
1199
3acf7c922a04 updated for version 7.1b
vimboss
parents:
diff changeset
85
3acf7c922a04 updated for version 7.1b
vimboss
parents:
diff changeset
86 " Most destdirPolicy aren't called from recipes, except for these
1620
73fe8baea242 updated for version 7.2a
vimboss
parents: 1199
diff changeset
87 syn keyword conaryPFunction AutoDoc RemoveNonPackageFiles TestSuiteFiles
73fe8baea242 updated for version 7.2a
vimboss
parents: 1199
diff changeset
88 syn keyword conaryPFunction TestSuiteLinks
1199
3acf7c922a04 updated for version 7.1b
vimboss
parents:
diff changeset
89
3acf7c922a04 updated for version 7.1b
vimboss
parents:
diff changeset
90 syn match conaryMacro "%(\w\+)[sd]" contained
3acf7c922a04 updated for version 7.1b
vimboss
parents:
diff changeset
91 syn match conaryBadMacro "%(\w*)[^sd]" contained " no final marker
3acf7c922a04 updated for version 7.1b
vimboss
parents:
diff changeset
92 syn keyword conaryArches contained x86 x86_64 alpha ia64 ppc ppc64 s390
3acf7c922a04 updated for version 7.1b
vimboss
parents:
diff changeset
93 syn keyword conaryArches contained sparc sparc64
3acf7c922a04 updated for version 7.1b
vimboss
parents:
diff changeset
94 syn keyword conarySubArches contained sse2 3dnow 3dnowext cmov i486 i586
3acf7c922a04 updated for version 7.1b
vimboss
parents:
diff changeset
95 syn keyword conarySubArches contained i686 mmx mmxext nx sse sse2
1620
73fe8baea242 updated for version 7.2a
vimboss
parents: 1199
diff changeset
96 syn keyword conaryBad RPM_BUILD_ROOT EtcConfig InstallBucket subDir
73fe8baea242 updated for version 7.2a
vimboss
parents: 1199
diff changeset
97 syn keyword conaryBad RPM_OPT_FLAGS subdir
1199
3acf7c922a04 updated for version 7.1b
vimboss
parents:
diff changeset
98 syn cluster conaryArchFlags contains=conaryArches,conarySubArches
3acf7c922a04 updated for version 7.1b
vimboss
parents:
diff changeset
99 syn match conaryArch "Arch\.[a-z0-9A-Z]\+" contains=conaryArches,conarySubArches
3acf7c922a04 updated for version 7.1b
vimboss
parents:
diff changeset
100 syn match conaryArch "Arch\.[a-z0-9A-Z]\+" contains=conaryArches,conarySubArches
3acf7c922a04 updated for version 7.1b
vimboss
parents:
diff changeset
101 syn keyword conaryKeywords name buildRequires version clearBuildReqs
3acf7c922a04 updated for version 7.1b
vimboss
parents:
diff changeset
102 syn keyword conaryUseFlag contained pcre tcpwrappers gcj gnat selinux pam
3acf7c922a04 updated for version 7.1b
vimboss
parents:
diff changeset
103 syn keyword conaryUseFlag contained bootstrap python perl
3acf7c922a04 updated for version 7.1b
vimboss
parents:
diff changeset
104 syn keyword conaryUseFlag contained readline gdbm emacs krb builddocs
3acf7c922a04 updated for version 7.1b
vimboss
parents:
diff changeset
105 syn keyword conaryUseFlag contained alternatives tcl tk X gtk gnome qt
3acf7c922a04 updated for version 7.1b
vimboss
parents:
diff changeset
106 syn keyword conaryUseFlag contained xfce gd ldap sasl pie desktop ssl kde
3acf7c922a04 updated for version 7.1b
vimboss
parents:
diff changeset
107 syn keyword conaryUseFlag contained slang netpbm nptl ipv6 buildtests
3acf7c922a04 updated for version 7.1b
vimboss
parents:
diff changeset
108 syn keyword conaryUseFlag contained ntpl xen dom0 domU
3acf7c922a04 updated for version 7.1b
vimboss
parents:
diff changeset
109 syn match conaryUse "Use\.[a-z0-9A-Z]\+" contains=conaryUseFlag
3acf7c922a04 updated for version 7.1b
vimboss
parents:
diff changeset
110
3acf7c922a04 updated for version 7.1b
vimboss
parents:
diff changeset
111 " strings
3acf7c922a04 updated for version 7.1b
vimboss
parents:
diff changeset
112 syn region pythonString matchgroup=Normal start=+[uU]\='+ end=+'+ skip=+\\\\\|\\'+ contains=pythonEscape,conaryMacro,conaryBadMacro
3acf7c922a04 updated for version 7.1b
vimboss
parents:
diff changeset
113 syn region pythonString matchgroup=Normal start=+[uU]\="+ end=+"+ skip=+\\\\\|\\"+ contains=pythonEscape,conaryMacro,conaryBadMacro
3acf7c922a04 updated for version 7.1b
vimboss
parents:
diff changeset
114 syn region pythonString matchgroup=Normal start=+[uU]\="""+ end=+"""+ contains=pythonEscape,conaryMacro,conaryBadMacro
3acf7c922a04 updated for version 7.1b
vimboss
parents:
diff changeset
115 syn region pythonString matchgroup=Normal start=+[uU]\='''+ end=+'''+ contains=pythonEscape,conaryMacro,conaryBadMacro
3acf7c922a04 updated for version 7.1b
vimboss
parents:
diff changeset
116 syn region pythonRawString matchgroup=Normal start=+[uU]\=[rR]'+ end=+'+ skip=+\\\\\|\\'+ contains=conaryMacro,conaryBadMacro
3acf7c922a04 updated for version 7.1b
vimboss
parents:
diff changeset
117 syn region pythonRawString matchgroup=Normal start=+[uU]\=[rR]"+ end=+"+ skip=+\\\\\|\\"+ contains=conaryMacro,conaryBadMacro
3acf7c922a04 updated for version 7.1b
vimboss
parents:
diff changeset
118 syn region pythonRawString matchgroup=Normal start=+[uU]\=[rR]"""+ end=+"""+ contains=conaryMacro,conaryBadMacro
3acf7c922a04 updated for version 7.1b
vimboss
parents:
diff changeset
119 syn region pythonRawString matchgroup=Normal start=+[uU]\=[rR]'''+ end=+'''+ contains=conaryMacro,conaryBadMacro
3acf7c922a04 updated for version 7.1b
vimboss
parents:
diff changeset
120
3acf7c922a04 updated for version 7.1b
vimboss
parents:
diff changeset
121 hi def link conaryMacro Special
3acf7c922a04 updated for version 7.1b
vimboss
parents:
diff changeset
122 hi def link conaryrecipeFunction Function
3acf7c922a04 updated for version 7.1b
vimboss
parents:
diff changeset
123 hi def link conaryError Error
3acf7c922a04 updated for version 7.1b
vimboss
parents:
diff changeset
124 hi def link conaryBFunction conaryrecipeFunction
3acf7c922a04 updated for version 7.1b
vimboss
parents:
diff changeset
125 hi def link conaryGFunction conaryrecipeFunction
3acf7c922a04 updated for version 7.1b
vimboss
parents:
diff changeset
126 hi def link conarySFunction Operator
3acf7c922a04 updated for version 7.1b
vimboss
parents:
diff changeset
127 hi def link conaryPFunction Typedef
3acf7c922a04 updated for version 7.1b
vimboss
parents:
diff changeset
128 hi def link conaryFlags PreCondit
3acf7c922a04 updated for version 7.1b
vimboss
parents:
diff changeset
129 hi def link conaryArches Special
3acf7c922a04 updated for version 7.1b
vimboss
parents:
diff changeset
130 hi def link conarySubArches Special
3acf7c922a04 updated for version 7.1b
vimboss
parents:
diff changeset
131 hi def link conaryBad conaryError
3acf7c922a04 updated for version 7.1b
vimboss
parents:
diff changeset
132 hi def link conaryBadMacro conaryError
3acf7c922a04 updated for version 7.1b
vimboss
parents:
diff changeset
133 hi def link conaryKeywords Special
3acf7c922a04 updated for version 7.1b
vimboss
parents:
diff changeset
134 hi def link conaryUseFlag Typedef
3acf7c922a04 updated for version 7.1b
vimboss
parents:
diff changeset
135
3acf7c922a04 updated for version 7.1b
vimboss
parents:
diff changeset
136 let b:current_syntax = "conaryrecipe"
1620
73fe8baea242 updated for version 7.2a
vimboss
parents: 1199
diff changeset
137