Gentoo Archives: gentoo-commits

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emacs/ebuild-mode/files/, app-emacs/ebuild-mode/
Date: Sat, 14 Oct 2017 18:53:57
Message-Id: 1508007220.cf57c1578d8aa1559b603c1f9fb8335aa99e2f71.ulm@gentoo
1 commit: cf57c1578d8aa1559b603c1f9fb8335aa99e2f71
2 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 14 18:50:04 2017 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 14 18:53:40 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf57c157
7
8 app-emacs/ebuild-mode: Version bump.
9
10 This introduces a new "glep-mode" major mode for editing
11 of reStructuredText GLEPs.
12
13 Package-Manager: Portage-2.3.11, Repoman-2.3.3
14
15 app-emacs/ebuild-mode/Manifest | 1 +
16 app-emacs/ebuild-mode/ebuild-mode-1.39.ebuild | 22 ++++++++++++++++++++++
17 .../ebuild-mode/files/50ebuild-mode-gentoo-1.39.el | 16 ++++++++++++++++
18 3 files changed, 39 insertions(+)
19
20 diff --git a/app-emacs/ebuild-mode/Manifest b/app-emacs/ebuild-mode/Manifest
21 index fb75096c061..d4dabd104f8 100644
22 --- a/app-emacs/ebuild-mode/Manifest
23 +++ b/app-emacs/ebuild-mode/Manifest
24 @@ -1,2 +1,3 @@
25 DIST ebuild-mode-1.37.tar.xz 30816 SHA256 f7368a8757036874dde542c69c26b824fe3da5241098f89a6b7d7e2665cbbf1d SHA512 1d570b213ad0c6eef8817f69c99c0862703b9bddc24477234dde542b697ba372a06bbe8e4a91179a7d528b720a7dbfc13bb92c8ea0a4d3b3b8684fa4ee0065c0 WHIRLPOOL 75928f5965bdfe66733e203588f01ab3b5de67a5958d33f41069d0793842bd9617ab0904ab71f95aeae04e0aa2f55646e4c545d6199cc1d357140b8fd1a714ab
26 DIST ebuild-mode-1.38.tar.xz 30744 SHA256 63f39bb1a09e29b86e5048f162f4779f287c8825e161a092e74530962947d3c3 SHA512 bfcc4fb100f7d9299e9b466c7661e865f9b93ee352780da1647f1a98159fe3e9eeb8cd4b7d1d9906d532316d1256ec7b6f821cac3d064cda15f2fd62ca7cb349 WHIRLPOOL ea61825ac0fd2d50ec9722088b03ed9664708dd6fac076ff3db8323bfdf8d1b2e351c7059f2f77471ea200b7a19d9f67ab233ebdb743ece80218f0e940fb0706
27 +DIST ebuild-mode-1.39.tar.xz 34476 SHA256 15ed940d9cc600a9058ced8dcee0e88e0cd635cfe85c385e84a4b738ed70e051 SHA512 ba4f082c5b9bf8e80077f31d8134eb06d927d1f34b505a43b093832b3763a84f37136f8458d863b28d31c0512ffa7c460c1f7640f2e107f3eec3f5c95eb80da7 WHIRLPOOL ae2c4cf6783adb1dad058a84794efdd510d972a81961da21adeaf5f36cc9870ecfa80c1aa1ae8fe79e2c10c8082f9f6dc32e6e051f846dce1787843e9f0e78f5
28
29 diff --git a/app-emacs/ebuild-mode/ebuild-mode-1.39.ebuild b/app-emacs/ebuild-mode/ebuild-mode-1.39.ebuild
30 new file mode 100644
31 index 00000000000..6d63bf881ed
32 --- /dev/null
33 +++ b/app-emacs/ebuild-mode/ebuild-mode-1.39.ebuild
34 @@ -0,0 +1,22 @@
35 +# Copyright 1999-2017 Gentoo Foundation
36 +# Distributed under the terms of the GNU General Public License v2
37 +
38 +EAPI=6
39 +
40 +inherit readme.gentoo-r1 elisp
41 +
42 +DESCRIPTION="Emacs modes for editing ebuilds and other Gentoo specific files"
43 +HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Emacs"
44 +SRC_URI="https://dev.gentoo.org/~ulm/emacs/${P}.tar.xz"
45 +
46 +LICENSE="GPL-2+ GPL-3" # GPL-3 (only) for glep-mode.el
47 +SLOT="0"
48 +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
49 +
50 +DEPEND="sys-apps/texinfo"
51 +
52 +DOCS="ChangeLog keyword-generation.sh"
53 +ELISP_TEXINFO="${PN}.texi"
54 +SITEFILE="50${PN}-gentoo-1.39.el"
55 +DOC_CONTENTS="Some optional features may require installation of additional
56 + packages, like app-portage/gentoolkit-dev for echangelog."
57
58 diff --git a/app-emacs/ebuild-mode/files/50ebuild-mode-gentoo-1.39.el b/app-emacs/ebuild-mode/files/50ebuild-mode-gentoo-1.39.el
59 new file mode 100644
60 index 00000000000..8683a654d3f
61 --- /dev/null
62 +++ b/app-emacs/ebuild-mode/files/50ebuild-mode-gentoo-1.39.el
63 @@ -0,0 +1,16 @@
64 +(add-to-list 'load-path "@SITELISP@")
65 +(autoload 'ebuild-mode "ebuild-mode"
66 + "Major mode for Portage .ebuild and .eclass files." t)
67 +(autoload 'gentoo-newsitem-mode "gentoo-newsitem-mode"
68 + "Major mode for Gentoo GLEP 42 news items." t)
69 +(autoload 'glep-mode "glep-mode"
70 + "Major mode for Gentoo Linux Enhancement Proposals." t)
71 +
72 +(add-to-list 'auto-mode-alist '("\\.\\(ebuild\\|eclass\\)\\'" . ebuild-mode))
73 +(add-to-list 'auto-mode-alist
74 + '("/[0-9]\\{4\\}-[01][0-9]-[0-3][0-9]-.+\\.[a-z]\\{2\\}\\.txt\\'"
75 + . gentoo-newsitem-mode))
76 +(add-to-list 'auto-mode-alist '("/glep.*\\.rst\\'" . glep-mode))
77 +(add-to-list 'interpreter-mode-alist '("openrc-run" . sh-mode))
78 +(add-to-list 'interpreter-mode-alist '("runscript" . sh-mode))
79 +(modify-coding-system-alist 'file "\\.\\(ebuild\\|eclass\\)\\'" 'utf-8)