summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-emacs/bnf-mode/bnf-mode-0.4.5.ebuild')
-rw-r--r--app-emacs/bnf-mode/bnf-mode-0.4.5.ebuild17
1 files changed, 3 insertions, 14 deletions
diff --git a/app-emacs/bnf-mode/bnf-mode-0.4.5.ebuild b/app-emacs/bnf-mode/bnf-mode-0.4.5.ebuild
index 748e0ecf1209..e3760e5fa4ec 100644
--- a/app-emacs/bnf-mode/bnf-mode-0.4.5.ebuild
+++ b/app-emacs/bnf-mode/bnf-mode-0.4.5.ebuild
@@ -1,10 +1,8 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-NEED_EMACS=24.3
-
inherit elisp
DESCRIPTION="GNU Emacs major mode for editing BNF grammars"
@@ -15,20 +13,11 @@ SRC_URI="https://github.com/sergeyklay/${PN}/archive/${PV}.tar.gz
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-BDEPEND="
- test? (
- app-emacs/buttercup
- app-emacs/undercover
- )
-"
+BDEPEND="test? ( app-emacs/undercover )"
DOCS=( NEWS README.org )
ELISP_TEXINFO="bnf-mode.texi"
SITEFILE="50${PN}-gentoo.el"
-src_test() {
- buttercup -L . -L test --traceback full || die
-}
+elisp-enable-tests buttercup test