Ticket #3988: 0001-mcedit-syntax-Add-many-missing-ebuild-syntax-variabl.patch
File 0001-mcedit-syntax-Add-many-missing-ebuild-syntax-variabl.patch, 12.2 KB (added by Polynomial-C, 6 years ago) |
---|
-
misc/syntax/ebuild.syntax
From c77f6ee543d4bf7226226049f7317b79acb7eac6 Mon Sep 17 00:00:00 2001 From: Lars Wendler <polynomial-c@gentoo.org> Date: Sat, 18 May 2019 14:39:32 +0200 Subject: [PATCH] mcedit: syntax: Add many missing ebuild syntax variables and commands - Group commands coming from eclasses - Add common Makefile variables Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> --- misc/syntax/ebuild.syntax | 197 +++++++++++++++++++++++++++++++++++--- 1 file changed, 182 insertions(+), 15 deletions(-) diff --git a/misc/syntax/ebuild.syntax b/misc/syntax/ebuild.syntax index c9009cb41..96fa35f5c 100644
a b context default 15 15 #.ebuild specific commands/glo vars 16 16 # TODO: 1. split keywords by .eclass'es 17 17 # 2. grep all exports and place here 18 keyword whole AT_M4DIR brightcyan 19 keyword whole BDEPEND brightcyan 18 20 keyword whole CABAL_FEATURES brightcyan 21 keyword whole CHECKREQS_DISK_BUILD brightcyan 22 keyword whole CHECKREQS_DISK_USR brightcyan 23 keyword whole CHECKREQS_DISK_VAR brightcyan 24 keyword whole CHECKREQS_MEMORY brightcyan 25 keyword whole CONFIG_CHECK brightcyan 19 26 keyword whole DEPEND brightcyan 20 27 keyword whole DESCRIPTION brightcyan 21 28 keyword whole EAPI brightcyan 29 keyword whole ECONF_SOURCE brightcyan 22 30 keyword whole EDARCS_REPOSITORY brightcyan 23 31 keyword whole EDARCS_GET_CMD brightcyan 24 32 keyword whole EDARCS_LOCALREPO brightcyan 25 33 keyword whole EGIT_BRANCH brightcyan 26 34 keyword whole EGIT_PROJECT brightcyan 27 35 keyword whole EGIT_REPO_URI brightcyan 36 keyword whole EGIT_SUBMODULES brightcyan 28 37 keyword whole EGIT_TREE brightcyan 29 38 keyword whole ESVN_REPO_URI brightcyan 30 39 keyword whole EXPORT_FUNCTIONS brightcyan … … context default 35 44 keyword whole PATCHES brightcyan 36 45 keyword whole PDEPEND brightcyan 37 46 keyword whole PROVIDE brightcyan 47 keyword whole PYTHON_COMPAT brightcyan 48 keyword whole QA_AM_MAINTAINER_MODE brightcyan 49 keyword whole QA_CONFIGURE_OPTIONS brightcyan 50 keyword whole QA_DESKTOP_FILE brightcyan 51 keyword whole QA_DT_NEEDED brightcyan 52 keyword whole QA_EXECSTACK brightcyan 53 keyword whole QA_FLAGS_IGNORED brightcyan 54 keyword whole QA_MULTILIB_PATHS brightcyan 55 keyword whole QA_PREBUILT brightcyan 56 keyword whole QA_PRESTRIPPED brightcyan 57 keyword whole QA_SONAME brightcyan 58 keyword whole QA_TEXTRELS brightcyan 59 keyword whole QA_WX_LOAD brightcyan 38 60 keyword whole RDEPEND brightcyan 39 61 keyword whole REQUIRED_USE brightcyan 40 62 keyword whole RESTRICT brightcyan … … context default 45 67 keyword whole WANT_AUTOCONF brightcyan 46 68 keyword whole WANT_AUTOMAKE brightcyan 47 69 keyword DOCS brightcyan 70 keyword HTML_DOCS brightcyan 48 71 keyword LINGUAS brightcyan 49 72 50 keyword whole _elibtoolizeyellow73 keyword whole addpredict yellow 51 74 keyword whole best_version yellow 52 75 keyword whole built_with_use yellow 53 76 keyword whole check_KV yellow 77 keyword whole default yellow 54 78 keyword whole die yellow 55 79 keyword whole diropts yellow 56 80 keyword whole dobin yellow 57 81 keyword whole docinto yellow 82 keyword whole docompress yellow 58 83 keyword whole doconfd yellow 59 84 keyword whole dodir yellow 60 85 keyword whole dodoc yellow … … context default 62 87 keyword whole doexe yellow 63 88 keyword whole dohard yellow 64 89 keyword whole dohtml yellow 65 keyword whole doicon yellow66 90 keyword whole doinfo yellow 67 91 keyword whole doinitd yellow 68 92 keyword whole doins yellow … … context default 70 94 keyword whole dolib.a yellow 71 95 keyword whole dolib.so yellow 72 96 keyword whole doman yellow 73 keyword whole domenu yellow74 97 keyword whole dosbin yellow 75 98 keyword whole dosed yellow 76 99 keyword whole dosym yellow 77 keyword whole eaclocal yellow78 100 keyword whole eapply yellow 79 101 keyword whole eapply_user yellow 80 keyword whole eautoconf yellow81 keyword whole eautoreconf yellow82 keyword whole eautomake yellow83 102 keyword whole ebegin yellow 84 103 keyword whole econf yellow 85 104 keyword whole eend yellow … … context default 87 106 keyword whole einfo yellow 88 107 keyword whole einstall yellow 89 108 keyword whole einstalldocs yellow 90 keyword whole elibtoolize yellow91 109 keyword whole elog yellow 92 110 keyword whole emake yellow 93 111 keyword whole epatch yellow … … context default 108 126 keyword whole into yellow 109 127 keyword whole keepdir yellow 110 128 keyword whole libopts yellow 111 keyword whole local yellow112 129 keyword whole newbin yellow 113 130 keyword whole newconfd yellow 114 131 keyword whole newdoc yellow 115 132 keyword whole newexe yellow 116 keyword whole newicon yellow117 133 keyword whole newins yellow 118 134 keyword whole newman yellow 119 keyword whole newmenu yellow120 135 keyword whole newsbin yellow 121 136 keyword whole newinitd yellow 122 137 keyword whole pax-mark yellow … … context default 126 141 keyword whole prepallman yellow 127 142 keyword whole unpack yellow 128 143 keyword whole use yellow 144 keyword whole usev yellow 145 keyword whole usex yellow 129 146 keyword whole use_enable yellow 130 147 keyword whole use_with yellow 131 #base 132 keyword whole base_src_unpack yellow 148 #autotools 149 keyword whole _elibtoolize yellow 150 keyword whole eaclocal yellow 151 keyword whole eautoconf yellow 152 keyword whole eautopoint yellow 153 keyword whole eautoreconf yellow 154 keyword whole eautomake yellow 155 #bashcomp 156 keyword whole bashcomp_alias yellow 157 keyword whole dobashcomp yellow 158 keyword whole newbashcomp yellow 133 159 #cvs 134 160 keyword whole cvs_src_unpack yellow 135 161 #darcs 136 162 keyword whole darcs_src_unpack yellow 163 #default 164 keyword whole default_src_unpack yellow 165 #desktop 166 keyword whole doicon yellow 167 keyword whole domenu yellow 168 keyword whole make_desktop_entry yellow 169 keyword whole make_session_desktop yellow 170 keyword whole newicon yellow 171 keyword whole newmenu yellow 137 172 #elisp-common 138 173 keyword whole elisp-compile yellow 139 174 keyword whole elisp-install yellow 140 175 keyword whole elisp-site-file-install yellow 141 176 keyword whole elisp-site-regen yellow 142 177 #flag-o-matic 178 keyword whole append-cflags yellow 179 keyword whole append-cxxflags yellow 143 180 keyword whole append-flags yellow 181 keyword whole append-ldflags yellow 182 keyword whole append-lfs-flags yellow 144 183 keyword whole filter-flags yellow 145 184 keyword whole replace-flags yellow 146 185 keyword whole strip-flags yellow 147 186 keyword whole strip-unsupported-flags yellow 148 #git 149 keyword whole git_src_unpack yellow 187 #git-r3 188 keyword whole git-r3_checkout yellow 189 keyword whole git-r3_fetch yellow 190 keyword whole git-r3_src_unpack yellow 150 191 #java-ant-2 151 192 keyword whole EANT_BUILD_TARGET yellow 193 #kernel-2 194 keyword whole kernel-2_src_unpack yellow 195 keyword whole kernel_is yellow 196 #libtool 197 keyword whole elibtoolize yellow 152 198 #mercurial 153 199 keyword whole mercurial_src_unpack yellow 200 #mozilla 201 keyword whole mozconfig_annotate yellow 202 keyword whole mozconfig_config yellow 203 keyword whole mozconfig_final yellow 204 keyword whole mozconfig_init yellow 205 keyword whole mozconfig_install_prefs yellow 206 keyword whole mozconfig_use_enable yellow 207 keyword whole mozconfig_use_with yellow 208 keyword whole moz_pkg_setup yellow 209 #multilib 210 keyword whole multilib_copy_sources yellow 211 keyword whole multilib_env yellow 212 keyword whole multilib_foreach_abi yellow 213 keyword whole multilib_is_native_abi yellow 214 keyword whole multilib_layout yellow 215 keyword whole multilib_parallel_foreach_abi yellow 216 keyword whole multilib_toolchain_setup yellow 217 #ninja-utils 218 keyword whole eninja yellow 219 #pam 220 keyword whole cleanpamd yellow 221 keyword whole dopamd yellow 222 keyword whole dopammod yellow 223 keyword whole dopamsecurity yellow 224 keyword whole newpamd yellow 225 keyword whole newpammod yellow 226 keyword whole newpamsecurity yellow 227 keyword whole pamd_mimic yellow 228 keyword whole pamd_mimic_system yellow 229 #prefix 230 keyword whole eprefixify yellow 231 #preserve-libs 232 keyword whole preserve_old_lib yellow 233 keyword whole preserve_old_lib_notify yellow 234 #python 235 keyword whole python_copy_sources yellow 236 keyword whole python_do yellow 237 keyword whole python_doexe yellow 238 keyword whole python_doheader yellow 239 keyword whole python_domodule yellow 240 keyword whole python_doscript yellow 241 keyword whole python_export yellow 242 keyword whole python_export_best yellow 243 keyword whole python_fix_shebang yellow 244 keyword whole python_foreach_impl yellow 245 keyword whole python_is_python3 yellow 246 keyword whole python_moduleinto yellow 247 keyword whole python_newexe yellow 248 keyword whole python_newscript yellow 249 keyword whole python_optimize yellow 250 keyword whole python_replicate_script yellow 251 keyword whole python_scriptinto yellow 252 keyword whole python_setup yellow 253 #rpm 254 keyword whole rpm_src_unpack yellow 255 keyword whole rpm_unpack yellow 154 256 #svn 155 257 keyword whole subversion_src_unpack yellow 258 #systemd 259 keyword whole systemd_dotmpfilesd yellow 260 keyword whole systemd_dounit yellow 261 keyword whole systemd_douserunit yellow 262 keyword whole systemd_enable_ntpunit yellow 263 keyword whole systemd_install_serviced yellow 264 keyword whole systemd_logger yellow 265 keyword whole systemd_newtmpfilesd yellow 266 keyword whole systemd_newunit yellow 267 keyword whole systemd_reenable yellow 268 keyword whole systemd_update_catalog yellow 269 #toolchain-funcs 270 keyword whole gen_usr_ldscript yellow 271 keyword whole tc-check-openmp yellow 272 keyword whole tc-enables-pie yellow 273 keyword whole tc-export yellow 274 keyword whole tc-export_build_env yellow 275 keyword whole tc-has-openmp yellow 276 keyword whole tc-has-tls yellow 277 keyword whole tc-is-clang yellow 278 keyword whole tc-is-cross-compiler yellow 279 keyword whole tc-is-gcc yellow 280 keyword whole tc-is-static-only yellow 281 keyword whole tc-ld-disable-gold yellow 282 #toolchain 283 keyword whole toolchain_src_unpack yellow 284 #unpacker 285 keyword whole unpacker_src_unpack yellow 286 #virtualx 287 keyword whole virtx yellow 288 #xdg 289 keyword whole xdg_desktop_database_update yellow 290 keyword whole xdg_environment_reset yellow 291 keyword whole xdg_icon_cache_update yellow 292 keyword whole xdg_mimeinfo_database_update yellow 156 293 157 294 #bashism (builtin extended 'test') 158 295 keyword whole [[ brightcyan 159 296 keyword whole ]] brightcyan 160 297 298 #common Makefile variables 299 keyword whole AR cyan 300 keyword whole AS cyan 301 keyword whole BINDIR cyan 302 keyword whole CC cyan 303 keyword whole CFLAGS cyan 304 keyword whole CPPFLAGS cyan 305 keyword whole CXX cyan 306 keyword whole CXXFLAGS cyan 307 keyword whole DESTDIR cyan 308 keyword whole DOCDIR cyan 309 keyword whole LD cyan 310 keyword whole LDFLAGS cyan 311 keyword whole LIBDIR cyan 312 keyword whole MANDIR cyan 313 keyword whole NM cyan 314 keyword whole OBJCOPY cyan 315 keyword whole PKG_CONFIG cyan 316 keyword whole PREFIX cyan 317 keyword whole RANLIB cyan 318 keyword whole SBINDIR cyan 319 keyword whole SHELL cyan 320 keyword whole STRIP cyan 321 keyword whole SYSCONFDIR cyan 322 keyword whole YACC cyan 323 161 324 #################### 162 325 # here starts original sh.syntax (with core commands only) 163 326 #################### … … wholechars abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-._ 222 385 keyword whole getopts yellow 223 386 keyword whole if yellow 224 387 keyword whole in yellow 388 keyword whole local yellow 225 389 keyword whole read yellow 226 390 keyword whole return yellow 227 391 keyword whole select yellow … … wholechars abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-._ 254 418 keyword whole perl cyan 255 419 keyword whole pod2man cyan 256 420 keyword whole popd cyan 421 keyword whole printf cyan 257 422 keyword whole pushd cyan 258 423 keyword whole rm cyan 424 keyword whole rmdir cyan 259 425 keyword whole sed cyan 260 426 keyword whole sh cyan 427 keyword whole shopt cyan 261 428 keyword whole touch cyan 262 429 keyword whole xmkmf cyan 263 430