gentoo/app-emacs/d-mode/d-mode-2.0.12.ebuild
Matthew Smith 21070120f4
app-emacs/*: drop redundant NEED_EMACS
Not needed after elisp-common.eclass changed the default to
25.3 (the oldest currently in tree).

Signed-off-by: Matthew Smith <matthew@gentoo.org>
[Whitespace: removed double empty lines]
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
2023-03-26 18:50:43 +02:00

24 lines
614 B
Bash

# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit elisp
DESCRIPTION="Emacs major mode for editing D code"
HOMEPAGE="https://github.com/Emacs-D-Mode-Maintainers/Emacs-D-Mode
https://www.emacswiki.org/emacs/DMode"
SRC_URI="https://github.com/Emacs-D-Mode-Maintainers/Emacs-D-Mode/archive/${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/Emacs-D-Mode-${PV}"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
SITEFILE="50${PN}-gentoo.el"
src_test() {
${EMACS} ${EMACSFLAGS} -l ${PN}.el -l ${PN}-test.el \
-f ert-run-tests-batch-and-exit || die
}