1 |
commit: 86a2319cc5793549ecb8b96b1d61a899e076068a |
2 |
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Oct 15 04:47:43 2017 +0000 |
4 |
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Oct 15 04:47:43 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/emacs.git/commit/?id=86a2319c |
7 |
|
8 |
app-emacs/ebuild-mode: Update site-init file and license. |
9 |
|
10 |
Package-Manager: Portage-2.3.11, Repoman-2.3.3 |
11 |
|
12 |
app-emacs/ebuild-mode/ebuild-mode-9999.ebuild | 4 +++- |
13 |
app-emacs/ebuild-mode/files/50ebuild-mode-gentoo.el | 3 +++ |
14 |
2 files changed, 6 insertions(+), 1 deletion(-) |
15 |
|
16 |
diff --git a/app-emacs/ebuild-mode/ebuild-mode-9999.ebuild b/app-emacs/ebuild-mode/ebuild-mode-9999.ebuild |
17 |
index 77f4ee4..ae0303c 100644 |
18 |
--- a/app-emacs/ebuild-mode/ebuild-mode-9999.ebuild |
19 |
+++ b/app-emacs/ebuild-mode/ebuild-mode-9999.ebuild |
20 |
@@ -12,9 +12,11 @@ inherit readme.gentoo-r1 elisp git-r3 |
21 |
DESCRIPTION="Emacs modes for editing ebuilds and other Gentoo specific files" |
22 |
HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Emacs" |
23 |
|
24 |
-LICENSE="GPL-2+" |
25 |
+LICENSE="GPL-2+ GPL-3" # GPL-3 (only) for glep-mode.el |
26 |
SLOT="0" |
27 |
|
28 |
+DEPEND="sys-apps/texinfo" |
29 |
+ |
30 |
S="${WORKDIR}/${PN}" |
31 |
DOCS="ChangeLog keyword-generation.sh" |
32 |
ELISP_TEXINFO="${PN}.texi" |
33 |
|
34 |
diff --git a/app-emacs/ebuild-mode/files/50ebuild-mode-gentoo.el b/app-emacs/ebuild-mode/files/50ebuild-mode-gentoo.el |
35 |
index 5a09692..8683a65 100644 |
36 |
--- a/app-emacs/ebuild-mode/files/50ebuild-mode-gentoo.el |
37 |
+++ b/app-emacs/ebuild-mode/files/50ebuild-mode-gentoo.el |
38 |
@@ -3,11 +3,14 @@ |
39 |
"Major mode for Portage .ebuild and .eclass files." t) |
40 |
(autoload 'gentoo-newsitem-mode "gentoo-newsitem-mode" |
41 |
"Major mode for Gentoo GLEP 42 news items." t) |
42 |
+(autoload 'glep-mode "glep-mode" |
43 |
+ "Major mode for Gentoo Linux Enhancement Proposals." t) |
44 |
|
45 |
(add-to-list 'auto-mode-alist '("\\.\\(ebuild\\|eclass\\)\\'" . ebuild-mode)) |
46 |
(add-to-list 'auto-mode-alist |
47 |
'("/[0-9]\\{4\\}-[01][0-9]-[0-3][0-9]-.+\\.[a-z]\\{2\\}\\.txt\\'" |
48 |
. gentoo-newsitem-mode)) |
49 |
+(add-to-list 'auto-mode-alist '("/glep.*\\.rst\\'" . glep-mode)) |
50 |
(add-to-list 'interpreter-mode-alist '("openrc-run" . sh-mode)) |
51 |
(add-to-list 'interpreter-mode-alist '("runscript" . sh-mode)) |
52 |
(modify-coding-system-alist 'file "\\.\\(ebuild\\|eclass\\)\\'" 'utf-8) |