summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2023-02-07 11:02:54 +0100
committerMaciej Barć <xgqt@gentoo.org>2023-02-07 22:49:17 +0100
commitbcf53b13db47d0a856bf298d3ef4ad1277d40386 (patch)
treeefb4f1465620d2df14689363654c1275aa24b84b /app-emacs
parentsys-cluster/kube-scheduler: drop 1.25.5 (diff)
downloadgentoo-bcf53b13db47d0a856bf298d3ef4ad1277d40386.tar.gz
gentoo-bcf53b13db47d0a856bf298d3ef4ad1277d40386.tar.bz2
gentoo-bcf53b13db47d0a856bf298d3ef4ad1277d40386.zip
app-emacs/wgrep: require Emacs >=25.1; add test deps
Closes: https://bugs.gentoo.org/893452 Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs')
-rw-r--r--app-emacs/wgrep/wgrep-3.0.0-r1.ebuild (renamed from app-emacs/wgrep/wgrep-3.0.0.ebuild)11
1 files changed, 11 insertions, 0 deletions
diff --git a/app-emacs/wgrep/wgrep-3.0.0.ebuild b/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"