mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-22 10:57:07 -08:00
app-xemacs/ebuild-mode: add 1.77
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
DIST ebuild-mode-1.75.tar.xz 48592 BLAKE2B 2273357c2736e0952637bb00754f0eff8379b5bd27793dac43d4d17e12affb8e88925ef321bd74709bc1054953f3fe3263b676c9faab93434558f45f55a70b28 SHA512 c00835513db517f07361ffa9fc86e8b268c89126fb1a0c88950e8566fcae296f115e29e6fa371bd93be34d6938e2a828e3382ea0b489a3e72af972b4f7b22e2e
|
||||
DIST ebuild-mode-1.76.tar.xz 50404 BLAKE2B 9aeda48858155286c9df2075b61f596723d457ac1592ab581e1589d291db2f54d3c5d81dd610a41506d43d5d90943404a8f74fc4b742d7ed33f4e623930d1fc7 SHA512 e9659878109de92789204d6bd9493465b1d078a5ac5a10937397478a20766bab453bdfc8d3352625570b37b8bf8aadc28369652979032427a1c8d6d13242aa64
|
||||
DIST ebuild-mode-1.77.tar.xz 50840 BLAKE2B 29ecc60dc232def8ef811da88efd68b6ffe66fa5df6a53390e6d01b858160f16f3f5f1f481f3d34628ccbd7228113867df3f81b0587d1f5ced721d129111f3a9 SHA512 f40f294158a36783f6d08297d51f0a0931209368449a6edeb50235568c4347b27070d20227c0d6d32d3581609dc288effefb8dda982d2e45b046243ce0e3495d
|
||||
|
||||
@@ -0,0 +1,51 @@
|
||||
# Copyright 1999-2024 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
|
||||
}
|
||||
Reference in New Issue
Block a user