summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2022-06-21 19:46:26 +0200
committerMaciej Barć <xgqt@gentoo.org>2022-06-21 19:48:05 +0200
commit9b80c6ce439ef6013dfa1ec1868576d1acaad322 (patch)
tree8058b64e742859c6fb4ff2e55b3f7da284433d41 /app-emacs/compat
parentdev-util/gitlab-runner: drop 14.9.2, 14.10.1, 15.0.0 (diff)
downloadgentoo-9b80c6ce439ef6013dfa1ec1868576d1acaad322.tar.gz
gentoo-9b80c6ce439ef6013dfa1ec1868576d1acaad322.tar.bz2
gentoo-9b80c6ce439ef6013dfa1ec1868576d1acaad322.zip
app-emacs/compat: add emacs[json] required for tests
Closes: https://bugs.gentoo.org/853322 Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs/compat')
-rw-r--r--app-emacs/compat/compat-28.1.1.3.ebuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/app-emacs/compat/compat-28.1.1.3.ebuild b/app-emacs/compat/compat-28.1.1.3.ebuild
index e42ede2851ce..c220c6ceb7a3 100644
--- a/app-emacs/compat/compat-28.1.1.3.ebuild
+++ b/app-emacs/compat/compat-28.1.1.3.ebuild
@@ -16,8 +16,13 @@ S="${WORKDIR}"/${PN}-${H}
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
-BDEPEND="sys-apps/texinfo"
+BDEPEND="
+ sys-apps/texinfo
+ test? ( >=app-editors/emacs-27.2[json] )
+"
ELISP_TEXINFO="${PN}.texi"