From: "Göktürk Yüksek" <gokturk@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/devmanual:master commit in: xsl/
Date: Tue, 26 Nov 2019 03:05:58 +0000 (UTC) [thread overview]
Message-ID: <1574736711.d44fa2793160272f590aa4b976d4b8c80092c655.gokturk@gentoo> (raw)
commit: d44fa2793160272f590aa4b976d4b8c80092c655
Author: Göktürk Yüksek <gokturk <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 26 02:41:05 2019 +0000
Commit: Göktürk Yüksek <gokturk <AT> gentoo <DOT> org>
CommitDate: Tue Nov 26 02:51:51 2019 +0000
URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=d44fa279
xsl/lang.highlight.ebuild.xsl: add more EAPI keywords to highlight
The list is taken from
https://gitweb.gentoo.org/proj/ebuild-mode.git/tree/ebuild-mode-keywords.el#n32
Signed-off-by: Göktürk Yüksek <gokturk <AT> gentoo.org>
xsl/lang.highlight.ebuild.xsl | 29 ++++++++++++++++++++++++++++-
1 file changed, 28 insertions(+), 1 deletion(-)
diff --git a/xsl/lang.highlight.ebuild.xsl b/xsl/lang.highlight.ebuild.xsl
index b9a8c95..9f90fb1 100644
--- a/xsl/lang.highlight.ebuild.xsl
+++ b/xsl/lang.highlight.ebuild.xsl
@@ -112,7 +112,7 @@
<!-- Default keywords -->
<xsl:when test="$data = 'use' or $data = 'has_version' or $data = 'best_version' or $data = 'use_with' or $data = 'use_enable' or
$data = 'check_KV' or $data = 'keepdir' or $data = 'econf' or $data = 'die' or $data = 'einstall' or $data = 'einfo' or
- $data = 'elog' or $data = 'eapply' or
+ $data = 'elog' or
$data = 'ewarn' or $data = 'eerror' or $data = 'diropts' or $data = 'dobin' or $data = 'docinto' or $data = 'dodoc' or
$data = 'doexe' or $data = 'dohard' or $data = 'dohtml' or $data = 'doinfo' or $data = 'doins' or $data = 'dolib' or
$data = 'dolib$dataa' or $data = 'dolib$dataso' or $data = 'doman' or $data = 'dosbin' or $data = 'dosym' or $data = 'emake' or
@@ -126,6 +126,26 @@
<span class="Statement"><xsl:value-of select="$data"/></span>
</xsl:when>
+ <!-- PMS keywords for EAPI4 -->
+ <xsl:when test="$data = 'docompress' or $data = 'nonfatal'">
+ <span class="Statement"><xsl:value-of select="$data"/></span>
+ </xsl:when>
+
+ <!-- PMS keywords for EAPI5 -->
+ <xsl:when test="$data = 'doheader' or $data = 'newheader' or $data = 'usex'">
+ <span class="Statement"><xsl:value-of select="$data"/></span>
+ </xsl:when>
+
+ <!-- PMS keywords for EAPI6 -->
+ <xsl:when test="$data = 'eapply' or $data = 'eapply_user' or $data = 'einstalldocs' or $data = 'get_libdir' or $data = 'in_iuse'">
+ <span class="Statement"><xsl:value-of select="$data"/></span>
+ </xsl:when>
+
+ <!-- PMS keywords for EAPI7 -->
+ <xsl:when test="$data = 'dostrip' or $data = 'eqawarn' or $data = 'ver_cut' or $data = 'ver_rs' or $data = 'ver_test'">
+ <span class="Statement"><xsl:value-of select="$data"/></span>
+ </xsl:when>
+
<!-- Sandbox -->
<xsl:when test="$data = 'addread' or $data = 'addwrite' or $data = 'adddeny' or $data = 'addpredict'">
<span class="Statement"><xsl:value-of select="$data"/></span>
@@ -138,6 +158,13 @@
<span class="Statement"><xsl:value-of select="$data"/></span>
</xsl:when>
+ <!-- Default keywords phase functions -->
+ <xsl:when test="$data = 'default' or $data = 'default_pkg_nofetch' or $data = 'default_src_unpack' or
+ $data = 'default_src_prepare' or $data = 'default_src_configure' or $data = 'default_src_compile' or
+ $data = 'default_src_test' or $data = 'default_src_install'">
+ <span class="Statement"><xsl:value-of select="$data"/></span>
+ </xsl:when>
+
<!-- Inherit -->
<xsl:when test="$data = 'inherit'">
<span class="Statement"><xsl:value-of select="$data"/></span>
next reply other threads:[~2019-11-26 3:06 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-26 3:05 Göktürk Yüksek [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-04-22 18:19 [gentoo-commits] proj/devmanual:master commit in: xsl/ Ulrich Müller
2023-11-06 18:11 Ulrich Müller
2023-11-06 18:11 Ulrich Müller
2021-09-07 18:01 Ulrich Müller
2020-01-15 21:29 Ulrich Müller
2019-12-19 8:55 Ulrich Müller
2019-11-26 3:05 Göktürk Yüksek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1574736711.d44fa2793160272f590aa4b976d4b8c80092c655.gokturk@gentoo \
--to=gokturk@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox