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-xemacs/ebuild-mode/
Date: Mon, 27 Feb 2023 18:18:36
Message-Id: 1677521855.e41718d5112932cfdaf70ce151d035642199ee69.ulm@gentoo
1 commit: e41718d5112932cfdaf70ce151d035642199ee69
2 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 27 18:17:35 2023 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 27 18:17:35 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e41718d5
7
8 app-xemacs/ebuild-mode: add 1.62
9
10 Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
11
12 app-xemacs/ebuild-mode/Manifest | 1 +
13 app-xemacs/ebuild-mode/ebuild-mode-1.62.ebuild | 44 ++++++++++++++++++++++++++
14 2 files changed, 45 insertions(+)
15
16 diff --git a/app-xemacs/ebuild-mode/Manifest b/app-xemacs/ebuild-mode/Manifest
17 index b28c0b65bc0f..c4e9670ac7d0 100644
18 --- a/app-xemacs/ebuild-mode/Manifest
19 +++ b/app-xemacs/ebuild-mode/Manifest
20 @@ -1,2 +1,3 @@
21 DIST ebuild-mode-1.60.tar.xz 36996 BLAKE2B a566c9f602ec6ac4126a4a13610e515faf2a02b8ca89f417a037a28f4b9ea633518d589d78f6deb54084be34cdc30c2a1896546b2f86c1166cedd47289edcfd8 SHA512 b04b37b7a376dc48a7f80ec0e60bf36a8b7ea92edcbdd45fbd002e80e8ea29111905a726177a869d607adffe78094efcdc94b1aad32afe1444a09b4e714dcecd
22 DIST ebuild-mode-1.61.tar.xz 38632 BLAKE2B f13f251918cf13533611c4d98a9aeceff10e9253c207a10c047c59952d6c8e50cdddb7c3ff65ed7b9565bd09fb45203c9cb57a277165b9cc7bbb47c5d8978a59 SHA512 a7087894299c3882ff0993a1a33cd192ebec078e7cea2f8964610d758a439350dcf36fe43aa43a42b89446d36b62a9b80bfce531e701b0183f3d69e56528ab62
23 +DIST ebuild-mode-1.62.tar.xz 39080 BLAKE2B 91bb206f7ca3fecebc80d946d5840ce6e02610171d6179d360b188e270226e4f1dbe4ceddbc1e41f8e627c787b28454a20720d563bbabcffb3a99b7b10a1251d SHA512 9e7caafb45a7538dd66221d2a5dd9fef764c72f6f42db1ad1615e4017b7d4db14dcde09edfa0e8777a528af918e219521072040215d05a9c8a5cdc57ca395bd8
24
25 diff --git a/app-xemacs/ebuild-mode/ebuild-mode-1.62.ebuild b/app-xemacs/ebuild-mode/ebuild-mode-1.62.ebuild
26 new file mode 100644
27 index 000000000000..89d7b413d785
28 --- /dev/null
29 +++ b/app-xemacs/ebuild-mode/ebuild-mode-1.62.ebuild
30 @@ -0,0 +1,44 @@
31 +# Copyright 1999-2023 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +inherit optfeature
37 +
38 +DESCRIPTION="Emacs modes for editing ebuilds and other Gentoo specific files"
39 +HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Emacs"
40 +SRC_URI="https://dev.gentoo.org/~ulm/emacs/${P}.tar.xz"
41 +
42 +LICENSE="GPL-2+"
43 +SLOT="0"
44 +KEYWORDS="~amd64 ~hppa ~x86"
45 +
46 +RDEPEND=">=app-editors/xemacs-21.4.20-r5
47 + app-xemacs/sh-script"
48 +BDEPEND="${RDEPEND}"
49 +
50 +src_compile() {
51 + local XEMACS="${EPREFIX}/usr/bin/xemacs"
52 +
53 + "${XEMACS}" -batch -q --no-site-file \
54 + -eval "(add-to-list 'load-path \".\")" \
55 + -f batch-byte-compile \
56 + ebuild-mode.el gentoo-newsitem-mode.el || die
57 +
58 + "${XEMACS}" -batch -q --no-site-file \
59 + -eval "(setq autoload-package-name \"${PN}\")" \
60 + -eval "(setq generated-autoload-file \"${S}/auto-autoloads.el\")" \
61 + -l autoload -f batch-update-autoloads \
62 + ebuild-mode.el gentoo-newsitem-mode.el || die
63 +}
64 +
65 +src_install() {
66 + insinto /usr/share/xemacs/site-packages/lisp/${PN}
67 + doins *.el *.elc
68 +}
69 +
70 +pkg_postinst() {
71 + optfeature "ebuild commands support" sys-apps/portage
72 + optfeature "additional development tools" dev-util/pkgdev
73 + optfeature "ebuild QA utilities" dev-util/pkgcheck
74 +}