commit: 9b80c6ce439ef6013dfa1ec1868576d1acaad322 Author: Maciej Barć <xgqt <AT> gentoo <DOT> org> AuthorDate: Tue Jun 21 17:46:26 2022 +0000 Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org> CommitDate: Tue Jun 21 17:48:05 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b80c6ce
app-emacs/compat: add emacs[json] required for tests Closes: https://bugs.gentoo.org/853322 Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org> app-emacs/compat/compat-28.1.1.3.ebuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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"
