From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1161073-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id B7228138351
	for <garchives@archives.gentoo.org>; Sun, 12 Apr 2020 21:52:36 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id A4F24E0985;
	Sun, 12 Apr 2020 21:52:35 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 8D045E0985
	for <gentoo-commits@lists.gentoo.org>; Sun, 12 Apr 2020 21:52:35 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 4F0E034F1A1
	for <gentoo-commits@lists.gentoo.org>; Sun, 12 Apr 2020 21:52:34 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 0F1C61CD
	for <gentoo-commits@lists.gentoo.org>; Sun, 12 Apr 2020 21:52:33 +0000 (UTC)
From: "Mart Raudsepp" <leio@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Mart Raudsepp" <leio@gentoo.org>
Message-ID: <1586728337.c12f59d93c6fb85f5c86c88c73886cfd9fca4f4c.leio@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/gspell/
X-VCS-Repository: repo/gentoo
X-VCS-Files: app-text/gspell/gspell-1.8.3.ebuild
X-VCS-Directories: app-text/gspell/
X-VCS-Committer: leio
X-VCS-Committer-Name: Mart Raudsepp
X-VCS-Revision: c12f59d93c6fb85f5c86c88c73886cfd9fca4f4c
X-VCS-Branch: master
Date: Sun, 12 Apr 2020 21:52:33 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 92687c5a-c65a-4bf8-9e2b-de25a4d7997e
X-Archives-Hash: 44333e4604c455124a95a898d8b15299

commit:     c12f59d93c6fb85f5c86c88c73886cfd9fca4f4c
Author:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 12 21:37:13 2020 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Sun Apr 12 21:52:17 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c12f59d9

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 <AT> gentoo.org>

 app-text/gspell/gspell-1.8.3.ebuild | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/app-text/gspell/gspell-1.8.3.ebuild b/app-text/gspell/gspell-1.8.3.ebuild
index fa0856fa8c8..70eb544cba3 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