commit: bcf53b13db47d0a856bf298d3ef4ad1277d40386 Author: Maciej Barć <xgqt <AT> gentoo <DOT> org> AuthorDate: Tue Feb 7 10:02:54 2023 +0000 Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org> CommitDate: Tue Feb 7 21:49:17 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bcf53b13
app-emacs/wgrep: require Emacs >=25.1; add test deps Closes: https://bugs.gentoo.org/893452 Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org> app-emacs/wgrep/{wgrep-3.0.0.ebuild => wgrep-3.0.0-r1.ebuild} | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/app-emacs/wgrep/wgrep-3.0.0.ebuild b/app-emacs/wgrep/wgrep-3.0.0-r1.ebuild similarity index 88% rename from app-emacs/wgrep/wgrep-3.0.0.ebuild rename to app-emacs/wgrep/wgrep-3.0.0-r1.ebuild index 75581cad4442..fe274279b0a2 100644 --- a/app-emacs/wgrep/wgrep-3.0.0.ebuild +++ b/app-emacs/wgrep/wgrep-3.0.0-r1.ebuild @@ -3,6 +3,8 @@ EAPI=8 +NEED_EMACS=25.1 + inherit elisp readme.gentoo-r1 DESCRIPTION="Writable grep buffer and apply the changes to files" @@ -14,6 +16,15 @@ S="${WORKDIR}"/Emacs-${P} LICENSE="GPL-3+" SLOT="0" KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND=" + test? ( + app-emacs/s + app-emacs/dash + ) +" ELISP_REMOVE="${PN}-subtest.el"