From: "Ulrich Müller" <ulm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emacs/ebuild-mode/files/, app-emacs/ebuild-mode/
Date: Sat, 29 Jun 2024 15:01:23 +0000 (UTC) [thread overview]
Message-ID: <1719673271.cd61fdc46fc7ff4c7d2953643a77a49372ca94de.ulm@gentoo> (raw)
commit: cd61fdc46fc7ff4c7d2953643a77a49372ca94de
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 29 14:55:13 2024 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sat Jun 29 15:01:11 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd61fdc4
app-emacs/ebuild-mode: add 1.72
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
app-emacs/ebuild-mode/Manifest | 1 +
app-emacs/ebuild-mode/ebuild-mode-1.72.ebuild | 29 +++++++++++++++++++
.../ebuild-mode/files/50ebuild-mode-gentoo-1.72.el | 33 ++++++++++++++++++++++
3 files changed, 63 insertions(+)
diff --git a/app-emacs/ebuild-mode/Manifest b/app-emacs/ebuild-mode/Manifest
index 6e9039f10bc8..77a0ec5083d6 100644
--- a/app-emacs/ebuild-mode/Manifest
+++ b/app-emacs/ebuild-mode/Manifest
@@ -1,2 +1,3 @@
DIST ebuild-mode-1.70.tar.xz 41528 BLAKE2B 51eecdaa262b20517aae269d4e8d41684d58a8aa73b316e08d03e4578b9bd0775577a46e15b637e4636978295629d36df774d39c253c3544ade985ad82b588dc SHA512 81e156adc19afe89778b9eb708414ba4cb6dd69ad3df05965eac6d5d46e6fda5b7e96f10933827639a17d8b349ae8c115b39e1ebd5c54350dcd07f9003d517e3
DIST ebuild-mode-1.71.tar.xz 41592 BLAKE2B 82f10340f619ea5689ae769f63818be1ac45a7bad65ac0f88ae1f92a3e7e6435286f66fd0da160a98647a610dde6dd79afb1655518823972c462e93c5437a74c SHA512 2a8f0c715102d49d69941efadb2a0f1d2e982660221d2c8742903fd16b8c394113f2a7ca9c2e147836a59887ead98d8776f575f61e66dcf3700b764050345ec6
+DIST ebuild-mode-1.72.tar.xz 41968 BLAKE2B 24170aa6f23022f47707445eebbb7272c898fa8ca922d0a1ee57962ccc9feed6ea608661998e3f812a0b5fcc8ce8d8ff0baa890505dad846e0dc4b5c9e0b4236 SHA512 7f2234f9f5053f9588fb25d673dbce10a9d6e5c056ea7dabf04ffe5a0f8da7064b81829229339c5d98ee7ce840eb6c8b9ec24fcfd3dee2d5b798b5e6adb81e10
diff --git a/app-emacs/ebuild-mode/ebuild-mode-1.72.ebuild b/app-emacs/ebuild-mode/ebuild-mode-1.72.ebuild
new file mode 100644
index 000000000000..58d676ce8299
--- /dev/null
+++ b/app-emacs/ebuild-mode/ebuild-mode-1.72.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit elisp optfeature
+
+DESCRIPTION="Emacs modes for editing ebuilds and other Gentoo specific files"
+HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Emacs"
+SRC_URI="https://dev.gentoo.org/~ulm/emacs/${P}.tar.xz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+
+BDEPEND="sys-apps/texinfo"
+
+DOCS="ChangeLog keyword-generation.sh"
+ELISP_TEXINFO="${PN}.texi"
+SITEFILE="50${PN}-gentoo-1.72.el"
+
+pkg_postinst() {
+ elisp_pkg_postinst
+ optfeature "ebuild commands support" sys-apps/portage
+ optfeature "additional development tools" dev-util/pkgdev
+ optfeature "ebuild QA utilities" dev-util/pkgcheck
+ optfeature "XML syntax validation" app-emacs/nxml-gentoo-schemas
+ optfeature "generating HTML from GLEPs" dev-python/docutils-glep
+}
diff --git a/app-emacs/ebuild-mode/files/50ebuild-mode-gentoo-1.72.el b/app-emacs/ebuild-mode/files/50ebuild-mode-gentoo-1.72.el
new file mode 100644
index 000000000000..567e02d97054
--- /dev/null
+++ b/app-emacs/ebuild-mode/files/50ebuild-mode-gentoo-1.72.el
@@ -0,0 +1,33 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'ebuild-mode "ebuild-mode"
+ "Major mode for Gentoo .ebuild files." t)
+(autoload 'ebuild-eclass-mode "ebuild-mode"
+ "Major mode for Gentoo .eclass files." t)
+(autoload 'ebuild-repo-mode "ebuild-mode"
+ "Minor mode for files in an ebuild repository." t)
+(autoload 'ebuild-repo-mode-maybe-enable "ebuild-mode")
+(autoload 'devbook-mode "devbook-mode"
+ "Major mode for editing the Gentoo Devmanual." t)
+(autoload 'gentoo-newsitem-mode "gentoo-newsitem-mode"
+ "Major mode for Gentoo GLEP 42 news items." t)
+(autoload 'glep-mode "glep-mode"
+ "Major mode for Gentoo Linux Enhancement Proposals." t)
+
+(add-to-list 'auto-mode-alist '("\\.ebuild\\'" . ebuild-mode))
+(add-to-list 'auto-mode-alist '("\\.eclass\\'" . ebuild-eclass-mode))
+(add-to-list 'auto-mode-alist '("/devmanual.*\\.xml\\'" . devbook-mode))
+(add-to-list 'auto-mode-alist
+ '("/[0-9]\\{4\\}-[01][0-9]-[0-3][0-9]-.+\\.[a-z]\\{2\\}\\.txt\\'"
+ . gentoo-newsitem-mode))
+(add-to-list 'auto-mode-alist '("/glep.*\\.rst\\'" . glep-mode))
+(add-to-list 'auto-mode-alist
+ '("/\\(package\\.\\(mask\\|unmask\\|use\\|env\
+\\|license\\|properties\\|accept_\\(keywords\\|restrict\\)\\)\
+\\|\\(package\\.\\)?use.\\(stable\\.\\)?\\(force\\|mask\\)\\)\\'"
+ . conf-space-mode))
+(add-to-list 'auto-mode-alist
+ '("/make\\.\\(conf\\|defaults\\)\\'" . conf-unix-mode))
+(add-to-list 'interpreter-mode-alist '("openrc-run" . sh-mode))
+(add-to-list 'interpreter-mode-alist '("runscript" . sh-mode))
+(add-hook 'find-file-hook #'ebuild-repo-mode-maybe-enable)
+(modify-coding-system-alist 'file "\\.\\(ebuild\\|eclass\\)\\'" 'utf-8)
next reply other threads:[~2024-06-29 15:01 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-29 15:01 Ulrich Müller [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-01-10 19:30 [gentoo-commits] repo/gentoo:master commit in: app-emacs/ebuild-mode/files/, app-emacs/ebuild-mode/ Ulrich Müller
2021-03-20 18:32 Ulrich Müller
2021-03-20 18:32 Ulrich Müller
2020-07-23 10:58 Ulrich Müller
2018-03-17 10:33 Ulrich Müller
2017-10-14 18:53 Ulrich Müller
2017-02-26 18:56 Ulrich Müller
2016-06-19 20:09 Ulrich Müller
2016-05-07 9:52 Ulrich Müller
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=1719673271.cd61fdc46fc7ff4c7d2953643a77a49372ca94de.ulm@gentoo \
--to=ulm@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