From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1599008-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256)
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 30E0515815E
	for <garchives@archives.gentoo.org>; Sat, 10 Feb 2024 03:24:33 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 4B21A2BC013;
	Sat, 10 Feb 2024 03:24:32 +0000 (UTC)
Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 2C5022BC013
	for <gentoo-commits@lists.gentoo.org>; Sat, 10 Feb 2024 03:24:32 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 485733431AA
	for <gentoo-commits@lists.gentoo.org>; Sat, 10 Feb 2024 03:24:31 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 8785414CA
	for <gentoo-commits@lists.gentoo.org>; Sat, 10 Feb 2024 03:24:29 +0000 (UTC)
From: "Sam James" <sam@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, "Sam James" <sam@gentoo.org>
Message-ID: <1707534991.e8b635c078926a82d2605da1bc09b9aa19570a2c.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/lark/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-python/lark/lark-1.1.9.ebuild
X-VCS-Directories: dev-python/lark/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: e8b635c078926a82d2605da1bc09b9aa19570a2c
X-VCS-Branch: master
Date: Sat, 10 Feb 2024 03:24:29 +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: e62d1bd6-23d4-4687-a9b9-2dd68b917d4d
X-Archives-Hash: 64f293c6e0fc856f69b122cfee121107

commit:     e8b635c078926a82d2605da1bc09b9aa19570a2c
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 10 02:54:24 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Feb 10 03:16:31 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8b635c0

dev-python/lark: only depend on dev-python/regex for tests w/o pypy

The tests cleanly skip if dev-python/regex isn't available. Also, while at it,
clean up <py3.10-era skip.

Bug: https://bugs.gentoo.org/924136
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-python/lark/lark-1.1.9.ebuild | 12 ++++--------
 1 file changed, 4 insertions(+), 8 deletions(-)

diff --git a/dev-python/lark/lark-1.1.9.ebuild b/dev-python/lark/lark-1.1.9.ebuild
index 140ffaaa34e1..302e7201818e 100644
--- a/dev-python/lark/lark-1.1.9.ebuild
+++ b/dev-python/lark/lark-1.1.9.ebuild
@@ -18,10 +18,13 @@ LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos"
 
+# dev-python/regex doesn't support pypy
 BDEPEND="
 	test? (
 		dev-python/atomicwrites[${PYTHON_USEDEP}]
-		dev-python/regex[${PYTHON_USEDEP}]
+		$(python_gen_cond_dep '
+			dev-python/regex[${PYTHON_USEDEP}]
+		' 'python*')
 	)
 "
 
@@ -33,12 +36,5 @@ python_test() {
 		tests/test_nearley/test_nearley.py
 	)
 
-	if has "${EPYTHON}" pypy3 python3.{8,9}; then
-		EPYTEST_IGNORE+=(
-			# test using Python 3.10+ syntax
-			tests/test_pattern_matching.py
-		)
-	fi
-
 	epytest
 }