summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMart Raudsepp <leio@gentoo.org>2020-04-13 00:37:13 +0300
committerMart Raudsepp <leio@gentoo.org>2020-04-13 00:52:17 +0300
commitc12f59d93c6fb85f5c86c88c73886cfd9fca4f4c (patch)
tree5c89d272a0cccdcf50ecb2858fdd292ed68c2f00 /app-text/gspell
parentgnome-extra/gnome-characters: bump to 3.34.0 (diff)
downloadgentoo-c12f59d93c6fb85f5c86c88c73886cfd9fca4f4c.tar.gz
gentoo-c12f59d93c6fb85f5c86c88c73886cfd9fca4f4c.tar.bz2
gentoo-c12f59d93c6fb85f5c86c88c73886cfd9fca4f4c.zip
app-text/gspell: fix test dependencies
Closes: https://bugs.gentoo.org/658590 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Mart Raudsepp <leio@gentoo.org>
Diffstat (limited to 'app-text/gspell')
-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