summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2023-10-07 09:37:16 +0200
committerUlrich Müller <ulm@gentoo.org>2023-10-07 09:38:57 +0200
commitf8c2ab8b4e21057cee0142f38e0b9abe377d443e (patch)
tree0ed1fded4494fb6a5fdc90a908b0cccd90ae912a /app-xemacs
parentapp-emacs/ebuild-mode: drop 1.66 (diff)
downloadgentoo-f8c2ab8b4e21057cee0142f38e0b9abe377d443e.tar.gz
gentoo-f8c2ab8b4e21057cee0142f38e0b9abe377d443e.tar.bz2
gentoo-f8c2ab8b4e21057cee0142f38e0b9abe377d443e.zip
app-xemacs/ebuild-mode: add 1.68
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'app-xemacs')
-rw-r--r--app-xemacs/ebuild-mode/Manifest1
-rw-r--r--app-xemacs/ebuild-mode/ebuild-mode-1.68.ebuild44
2 files changed, 45 insertions, 0 deletions
diff --git a/app-xemacs/ebuild-mode/Manifest b/app-xemacs/ebuild-mode/Manifest
index f339a009279b..642879965463 100644
--- a/app-xemacs/ebuild-mode/Manifest
+++ b/app-xemacs/ebuild-mode/Manifest
@@ -1,3 +1,4 @@
DIST ebuild-mode-1.65.tar.xz 39952 BLAKE2B fba1a751e417d39e1d4ce6f9fbc9b5e3465bdddef5fd9a675f6649a3fddb56a8009ebf4c9b22bde349c2faf0009dc6f29ae1acb78632144fbf1b4b5b9e5fa4ca SHA512 fa8b16d68f3afd1ba3557e13d83a809d723bf0f0adf4741ee6897381835c96970a43c28191e9a90a0f096a164c183604caaee2e5ddb0769ed77fca34633cc0e3
DIST ebuild-mode-1.66.tar.xz 40208 BLAKE2B 6db4cae77c736457adb707c54a3adb800a07a42f9bec8ee6f69c5995297665b2fecb8208c23be8cdfbf9383046a14db2a94bdaa14756ed4aee96c086067d8563 SHA512 70e7b7e071a74fa54aab6e3d5ca0d9e91406f10634a23ef084e95f7bf0d1900927196023d44f6e3fb7bc6e3f6a27221e171e3f4216342d7aafadea16ec56eef0
DIST ebuild-mode-1.67.tar.xz 40332 BLAKE2B 545106fbf63737015c8b80b715708c430dafc83484bd2d27901c1e81b5ecb10a0494a0f8ab9e0d3243f62c57045c1571ea75fd6813cbd74a04e507a2dadc3b3a SHA512 672c23ae77de6784a43329607b05f3ff354f0271a5051b886ede7b1d92a667f7968579a941b55e60839cbf0b79082e726aa32e1a81d3302acc84d866e3892a2b
+DIST ebuild-mode-1.68.tar.xz 41060 BLAKE2B 2f4882778368b9d9e40579a661b294fef6c68a27072a7d983caa7d54338441a659c27edbeacf74b3aac870b056996c3bdca233352e7fd2a319c3c2649a49eb56 SHA512 b03d0adabd9804999317ac688763d28e2ef09539c5ac75faeeb758ac56e9015946440447a0301c98356897e1b6f19e3e2aec5aec647c0ee1ae868beda2347ddd
diff --git a/app-xemacs/ebuild-mode/ebuild-mode-1.68.ebuild b/app-xemacs/ebuild-mode/ebuild-mode-1.68.ebuild
new file mode 100644
index 000000000000..db4d01173c23
--- /dev/null
+++ b/app-xemacs/ebuild-mode/ebuild-mode-1.68.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2023 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.4.20-r5
+ app-xemacs/sh-script"
+BDEPEND="${RDEPEND}"
+
+src_compile() {
+ local XEMACS="${EPREFIX}/usr/bin/xemacs"
+
+ "${XEMACS}" -batch -q --no-site-file \
+ -eval "(add-to-list 'load-path nil)" \
+ -f batch-byte-compile \
+ ebuild-mode.el gentoo-newsitem-mode.el || die
+
+ "${XEMACS}" -batch -q --no-site-file \
+ -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_install() {
+ insinto /usr/share/xemacs/site-packages/lisp/${PN}
+ doins *.el *.elc
+}
+
+pkg_postinst() {
+ optfeature "ebuild commands support" sys-apps/portage
+ optfeature "additional development tools" dev-util/pkgdev
+ optfeature "ebuild QA utilities" dev-util/pkgcheck
+}