From: Mart Raudsepp Date: Sun, 12 Apr 2020 21:37:13 +0000 (+0300) Subject: app-text/gspell: fix test dependencies X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c12f59d93c6fb85f5c86c88c73886cfd9fca4f4c;p=gentoo.git 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 --- 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