summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-text/gspell/gspell-1.8.3.ebuild6
1 files changed, 6 insertions, 0 deletions
diff --git a/app-text/gspell/gspell-1.8.3.ebuild b/app-text/gspell/gspell-1.8.3.ebuild
index fa0856fa8c8c..70eb544cba3a 100644
--- a/app-text/gspell/gspell-1.8.3.ebuild
+++ b/app-text/gspell/gspell-1.8.3.ebuild
@@ -30,7 +30,13 @@ DEPEND="${RDEPEND}
>=sys-devel/gettext-0.19.6
virtual/pkgconfig
vala? ( $(vala_depend) )
+ test? ( app-text/enchant:2[hunspell]
+ || ( app-dicts/myspell-en[l10n_en(+)] app-dicts/myspell-en[l10n_en-US(+)] ) )
"
+# Tests require a en_US dictionary and fail with deprecated enchant aspell backend:
+# So enchant[hunspell] + myspell-en ensure they pass (hunspell is ordered before aspell),
+# however a different backend like hspell or nuspell + their en_US dict might be fine too,
+# but we don't support them at this time (2020-04-12) in enchant:2
src_prepare() {
use vala && vala_src_prepare