commit:     1d9548be17009b17ded19ebbfc9eb7e827e6cf0a
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 31 12:07:19 2025 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Wed Dec 31 12:08:46 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d9548be

app-xemacs/ebuild-mode: add 1.80

Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 app-xemacs/ebuild-mode/Manifest                |  1 +
 app-xemacs/ebuild-mode/ebuild-mode-1.80.ebuild | 51 ++++++++++++++++++++++++++
 2 files changed, 52 insertions(+)

diff --git a/app-xemacs/ebuild-mode/Manifest b/app-xemacs/ebuild-mode/Manifest
index 6829bd520176..02eab243088b 100644
--- a/app-xemacs/ebuild-mode/Manifest
+++ b/app-xemacs/ebuild-mode/Manifest
@@ -1 +1,2 @@
 DIST ebuild-mode-1.79.tar.xz 51536 BLAKE2B 
fd53b083ca72854e33ecc81c86a5d972cd3efa3768fa5250b4c9771ad7989f751a12563a37048af5161f0634b6b92512566159b338cd7303fdd586a50334f193
 SHA512 
c659851eea7e5c6c5796cb9d6c5a6daf062cdc6aa64406125aa8f48d59433191e7b34894545e8c70e4b9deaa40b4df5a1de7560974c78e45e8ab8d9da99c78f8
+DIST ebuild-mode-1.80.tar.xz 51640 BLAKE2B 
fa9d42898131f0f62a51bb0b172b2ab076aafb8e6d999eb58c3f328bdadd698909589aa9cd58fbb9a166d4441414762a15be841133aa1b9c08354db41cdd2df6
 SHA512 
8b22a8a8f012e24410e419e28d42d1b38b016fc392390270baea0e26fc101207b0c727787b57f01b61e9cc3b149390fca08e75e651dc76dfb35b80574d650d3f

diff --git a/app-xemacs/ebuild-mode/ebuild-mode-1.80.ebuild 
b/app-xemacs/ebuild-mode/ebuild-mode-1.80.ebuild
new file mode 100644
index 000000000000..dd8dfef02876
--- /dev/null
+++ b/app-xemacs/ebuild-mode/ebuild-mode-1.80.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit 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="~amd64 ~hppa ~x86"
+
+RDEPEND=">=app-editors/xemacs-21.5.35
+       app-xemacs/sh-script"
+BDEPEND="${RDEPEND}"
+
+EMACS="${EPREFIX}/usr/bin/xemacs"
+EMACSFLAGS="-batch -q -no-site-file"
+
+src_compile() {
+       ${EMACS} ${EMACSFLAGS} \
+               -eval "(add-to-list 'load-path nil)" \
+               -f batch-byte-compile \
+               ebuild-mode.el gentoo-newsitem-mode.el || die
+
+       ${EMACS} ${EMACSFLAGS} \
+               -eval "(setq autoload-package-name \"${PN}\")" \
+               -eval "(setq generated-autoload-file 
\"${S}/auto-autoloads.el\")" \
+               -l autoload -f batch-update-autoloads \
+               ebuild-mode.el gentoo-newsitem-mode.el || die
+}
+
+src_test() {
+       emake check EMACS="${EMACS}" EMACSFLAGS="${EMACSFLAGS}"
+}
+
+src_install() {
+       insinto /usr/lib/xemacs/site-packages/lisp/${PN}
+       doins ebuild-mode.{el,elc} ebuild-mode-keywords.el \
+               gentoo-newsitem-mode.{el,elc}
+       doins auto-autoloads.el
+}
+
+pkg_postinst() {
+       optfeature "ebuild commands support" sys-apps/portage
+       optfeature "additional development tools" dev-util/pkgdev
+       optfeature "ebuild QA utilities" dev-util/pkgcheck
+}

Reply via email to