codekingpro/portable-devtools
114k
1" Vim syntax file2" Language: Conary Recipe3" Maintainer: rPath Inc <http://www.rpath.com>4" Updated: 2007-12-085 6if exists("b:current_syntax")7 finish8endif9 10runtime! syntax/python.vim11 12syn keyword conarySFunction mainDir addAction addSource addArchive addPatch13syn keyword conarySFunction addRedirect addSvnSnapshot addMercurialSnapshot14syn keyword conarySFunction addCvsSnapshot addGitSnapshot addBzrSnapshot15 16syn keyword conaryGFunction add addAll addNewGroup addReference createGroup17syn keyword conaryGFunction addNewGroup startGroup remove removeComponents18syn keyword conaryGFunction replace setByDefault setDefaultGroup 19syn keyword conaryGFunction setLabelPath addCopy setSearchPath AddAllFlags20syn keyword conaryGFunction GroupRecipe GroupReference TroveCacheWrapper21syn keyword conaryGFunction TroveCache buildGroups findTrovesForGroups22syn keyword conaryGFunction followRedirect processAddAllDirectives23syn keyword conaryGFunction processOneAddAllDirective removeDifferences24syn keyword conaryGFunction addTrovesToGroup addCopiedComponents25syn keyword conaryGFunction findAllWeakTrovesToRemove checkForRedirects26syn keyword conaryGFunction addPackagesForComponents getResolveSource27syn keyword conaryGFunction resolveGroupDependencies checkGroupDependencies28syn keyword conaryGFunction calcSizeAndCheckHashes findSourcesForGroup29syn keyword conaryGFunction addPostInstallScript addPostRollbackScript30syn keyword conaryGFunction addPostUpdateScript addPreUpdateScript31syn keyword conaryGFunction addTrove moveComponents copyComponents32syn keyword conaryGFunction removeItemsAlsoInNewGroup removeItemsAlsoInGroup33syn keyword conaryGFunction addResolveSource iterReplaceSpecs34syn keyword conaryGFunction setCompatibilityClass getLabelPath35syn keyword conaryGFunction getResolveTroveSpecs getSearchFlavor36syn keyword conaryGFunction getChildGroups getGroupMap37 38syn keyword conaryBFunction Run Automake Configure ManualConfigure 39syn keyword conaryBFunction Make MakeParallelSubdir MakeInstall40syn keyword conaryBFunction MakePathsInstall CompilePython41syn keyword conaryBFunction Ldconfig Desktopfile Environment SetModes42syn keyword conaryBFunction Install Copy Move Symlink Link Remove Doc43syn keyword conaryBFunction Create MakeDirs disableParallelMake44syn keyword conaryBFunction ConsoleHelper Replace SGMLCatalogEntry45syn keyword conaryBFunction XInetdService XMLCatalogEntry TestSuite46syn keyword conaryBFunction PythonSetup CMake Ant JavaCompile ClassPath47syn keyword conaryBFunction JavaDoc IncludeLicense MakeFIFO48 49syn keyword conaryPFunction NonBinariesInBindirs FilesInMandir 50syn keyword conaryPFunction ImproperlyShared CheckSonames CheckDestDir51syn keyword conaryPFunction ComponentSpec PackageSpec 52syn keyword conaryPFunction Config InitScript GconfSchema SharedLibrary53syn keyword conaryPFunction ParseManifest MakeDevices DanglingSymlinks54syn keyword conaryPFunction AddModes WarnWriteable IgnoredSetuid55syn keyword conaryPFunction Ownership ExcludeDirectories56syn keyword conaryPFunction BadFilenames BadInterpreterPaths ByDefault57syn keyword conaryPFunction ComponentProvides ComponentRequires Flavor58syn keyword conaryPFunction EnforceConfigLogBuildRequirements Group59syn keyword conaryPFunction EnforceSonameBuildRequirements InitialContents60syn keyword conaryPFunction FilesForDirectories LinkCount61syn keyword conaryPFunction MakdeDevices NonMultilibComponent ObsoletePaths62syn keyword conaryPFunction NonMultilibDirectories NonUTF8Filenames TagSpec63syn keyword conaryPFunction Provides RequireChkconfig Requires TagHandler64syn keyword conaryPFunction TagDescription Transient User UtilizeGroup65syn keyword conaryPFunction WorldWritableExecutables UtilizeUser66syn keyword conaryPFunction WarnWritable Strip CheckDesktopFiles67syn keyword conaryPFunction FixDirModes LinkType reportMissingBuildRequires68syn keyword conaryPFunction reportErrors FixupManpagePaths FixObsoletePaths69syn keyword conaryPFunction NonLSBPaths PythonEggs70syn keyword conaryPFunction EnforcePythonBuildRequirements71syn keyword conaryPFunction EnforceJavaBuildRequirements72syn keyword conaryPFunction EnforceCILBuildRequirements73syn keyword conaryPFunction EnforcePerlBuildRequirements74syn keyword conaryPFunction EnforceFlagBuildRequirements75syn keyword conaryPFunction FixupMultilibPaths ExecutableLibraries76syn keyword conaryPFunction NormalizeLibrarySymlinks NormalizeCompression77syn keyword conaryPFunction NormalizeManPages NormalizeInfoPages78syn keyword conaryPFunction NormalizeInitscriptLocation79syn keyword conaryPFunction NormalizeInitscriptContents80syn keyword conaryPFunction NormalizeAppDefaults NormalizeInterpreterPaths81syn keyword conaryPFunction NormalizePamConfig ReadableDocs82syn keyword conaryPFunction WorldWriteableExecutables NormalizePkgConfig83syn keyword conaryPFunction EtcConfig InstallBucket SupplementalGroup84syn keyword conaryPFunction FixBuilddirSymlink RelativeSymlinks85 86" Most destdirPolicy aren't called from recipes, except for these87syn keyword conaryPFunction AutoDoc RemoveNonPackageFiles TestSuiteFiles88syn keyword conaryPFunction TestSuiteLinks89 90syn match conaryMacro "%(\w\+)[sd]" contained91syn match conaryBadMacro "%(\w*)[^sd]" contained " no final marker92syn keyword conaryArches contained x86 x86_64 alpha ia64 ppc ppc64 s39093syn keyword conaryArches contained sparc sparc6494syn keyword conarySubArches contained sse2 3dnow 3dnowext cmov i486 i58695syn keyword conarySubArches contained i686 mmx mmxext nx sse sse296syn keyword conaryBad RPM_BUILD_ROOT EtcConfig InstallBucket subDir97syn keyword conaryBad RPM_OPT_FLAGS subdir 98syn cluster conaryArchFlags contains=conaryArches,conarySubArches99syn match conaryArch "Arch\.[a-z0-9A-Z]\+" contains=conaryArches,conarySubArches100syn match conaryArch "Arch\.[a-z0-9A-Z]\+" contains=conaryArches,conarySubArches101syn keyword conaryKeywords name buildRequires version clearBuildReqs102syn keyword conaryUseFlag contained pcre tcpwrappers gcj gnat selinux pam 103syn keyword conaryUseFlag contained bootstrap python perl 104syn keyword conaryUseFlag contained readline gdbm emacs krb builddocs 105syn keyword conaryUseFlag contained alternatives tcl tk X gtk gnome qt106syn keyword conaryUseFlag contained xfce gd ldap sasl pie desktop ssl kde107syn keyword conaryUseFlag contained slang netpbm nptl ipv6 buildtests108syn keyword conaryUseFlag contained ntpl xen dom0 domU109syn match conaryUse "Use\.[a-z0-9A-Z]\+" contains=conaryUseFlag110 111" strings112syn region pythonString matchgroup=Normal start=+[uU]\='+ end=+'+ skip=+\\\\\|\\'+ contains=pythonEscape,conaryMacro,conaryBadMacro113syn region pythonString matchgroup=Normal start=+[uU]\="+ end=+"+ skip=+\\\\\|\\"+ contains=pythonEscape,conaryMacro,conaryBadMacro114syn region pythonString matchgroup=Normal start=+[uU]\="""+ end=+"""+ contains=pythonEscape,conaryMacro,conaryBadMacro115syn region pythonString matchgroup=Normal start=+[uU]\='''+ end=+'''+ contains=pythonEscape,conaryMacro,conaryBadMacro116syn region pythonRawString matchgroup=Normal start=+[uU]\=[rR]'+ end=+'+ skip=+\\\\\|\\'+ contains=conaryMacro,conaryBadMacro117syn region pythonRawString matchgroup=Normal start=+[uU]\=[rR]"+ end=+"+ skip=+\\\\\|\\"+ contains=conaryMacro,conaryBadMacro118syn region pythonRawString matchgroup=Normal start=+[uU]\=[rR]"""+ end=+"""+ contains=conaryMacro,conaryBadMacro119syn region pythonRawString matchgroup=Normal start=+[uU]\=[rR]'''+ end=+'''+ contains=conaryMacro,conaryBadMacro120 121hi def link conaryMacro Special122hi def link conaryrecipeFunction Function123hi def link conaryError Error124hi def link conaryBFunction conaryrecipeFunction125hi def link conaryGFunction conaryrecipeFunction126hi def link conarySFunction Operator127hi def link conaryPFunction Typedef128hi def link conaryFlags PreCondit129hi def link conaryArches Special130hi def link conarySubArches Special131hi def link conaryBad conaryError132hi def link conaryBadMacro conaryError133hi def link conaryKeywords Special134hi def link conaryUseFlag Typedef135 136let b:current_syntax = "conaryrecipe"137 138 