diff options
author | Ulrich Müller <ulm@gentoo.org> | 2023-07-06 18:25:57 +0200 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2023-07-06 18:25:57 +0200 |
commit | f03c33a6a1de8955e23e40a6e7e3ebe2d0025afe (patch) | |
tree | dcf374d4ebfd0d54fb326316933f6970f57e6bae /app-xemacs | |
parent | app-emacs/ebuild-mode: add 1.65 (diff) | |
download | gentoo-f03c33a6a1de8955e23e40a6e7e3ebe2d0025afe.tar.gz gentoo-f03c33a6a1de8955e23e40a6e7e3ebe2d0025afe.tar.bz2 gentoo-f03c33a6a1de8955e23e40a6e7e3ebe2d0025afe.zip |
app-xemacs/ebuild-mode: add 1.65
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'app-xemacs')
-rw-r--r-- | app-xemacs/ebuild-mode/Manifest | 1 | ||||
-rw-r--r-- | app-xemacs/ebuild-mode/ebuild-mode-1.65.ebuild | 44 |
2 files changed, 45 insertions, 0 deletions
diff --git a/app-xemacs/ebuild-mode/Manifest b/app-xemacs/ebuild-mode/Manifest index 7f3ce5f8265d..ddbf87c04a15 100644 --- a/app-xemacs/ebuild-mode/Manifest +++ b/app-xemacs/ebuild-mode/Manifest @@ -1,3 +1,4 @@ DIST ebuild-mode-1.60.tar.xz 36996 BLAKE2B a566c9f602ec6ac4126a4a13610e515faf2a02b8ca89f417a037a28f4b9ea633518d589d78f6deb54084be34cdc30c2a1896546b2f86c1166cedd47289edcfd8 SHA512 b04b37b7a376dc48a7f80ec0e60bf36a8b7ea92edcbdd45fbd002e80e8ea29111905a726177a869d607adffe78094efcdc94b1aad32afe1444a09b4e714dcecd DIST ebuild-mode-1.63.tar.xz 39600 BLAKE2B 1746e0ab558fd7b48dc778f2287b3a9f2b5f82f5e4e53e353b0b9c3de3436a8ec17f827d93cf1ff990dd780a33435ea946e19ac655fd0f39fee03beb07ce5509 SHA512 264678921d8a2e535fedcc06c9c0932a4898f3d33cc54d79107658d9a77048e00c5ec276d4c74dc55c2ba2c643024453542f16619fde473d417b446bbd78175c DIST ebuild-mode-1.64.tar.xz 39872 BLAKE2B e6309f91276093d40c322e0b639c10067ac95f305a7333d4335182fc6f0bec34141bb3cac1fd577657a5d795338b1da0d1f2212b2c5fd6502d958129a1e8167b SHA512 0c760946070882e93fb10dbad6f1ceb4977b2b9f0b7786c1a99ecde7b16874f840ac9877dc531503b216b0d030e779bb3d0f9cec9eeb40bb211ec6f20ebe0f88 +DIST ebuild-mode-1.65.tar.xz 39952 BLAKE2B fba1a751e417d39e1d4ce6f9fbc9b5e3465bdddef5fd9a675f6649a3fddb56a8009ebf4c9b22bde349c2faf0009dc6f29ae1acb78632144fbf1b4b5b9e5fa4ca SHA512 fa8b16d68f3afd1ba3557e13d83a809d723bf0f0adf4741ee6897381835c96970a43c28191e9a90a0f096a164c183604caaee2e5ddb0769ed77fca34633cc0e3 diff --git a/app-xemacs/ebuild-mode/ebuild-mode-1.65.ebuild b/app-xemacs/ebuild-mode/ebuild-mode-1.65.ebuild new file mode 100644 index 000000000000..db4d01173c23 --- /dev/null +++ b/app-xemacs/ebuild-mode/ebuild-mode-1.65.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 +} |