From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1474238-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))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 0E60E158010
	for <garchives@archives.gentoo.org>; Thu,  5 Jan 2023 09:02:05 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id A4890E0858;
	Thu,  5 Jan 2023 09:02:03 +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))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 8F481E0858
	for <gentoo-commits@lists.gentoo.org>; Thu,  5 Jan 2023 09:02:03 +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))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id D0B79340F3E
	for <gentoo-commits@lists.gentoo.org>; Thu,  5 Jan 2023 09:02:02 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 075F1824
	for <gentoo-commits@lists.gentoo.org>; Thu,  5 Jan 2023 09:02:00 +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: <1672909294.4a8709aa2848af52736a61b804d0942c8cac904f.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-python/scipy/scipy-1.10.0.ebuild
X-VCS-Directories: dev-python/scipy/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: 4a8709aa2848af52736a61b804d0942c8cac904f
X-VCS-Branch: master
Date: Thu,  5 Jan 2023 09:02:00 +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: 5eb22645-90e5-43ef-a2f7-5abbf87a9c45
X-Archives-Hash: 88fbcac0852989ae2af2b3d3e0818bb1

commit:     4a8709aa2848af52736a61b804d0942c8cac904f
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Jan  5 09:00:51 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jan  5 09:01:34 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a8709aa

dev-python/scipy: add USE=test-rust

pooch -> ... -> paramiko, which is masked on wd40

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

 dev-python/scipy/scipy-1.10.0.ebuild | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/dev-python/scipy/scipy-1.10.0.ebuild b/dev-python/scipy/scipy-1.10.0.ebuild
index 797fb044c609..deff07afc050 100644
--- a/dev-python/scipy/scipy-1.10.0.ebuild
+++ b/dev-python/scipy/scipy-1.10.0.ebuild
@@ -44,7 +44,7 @@ fi
 
 LICENSE="BSD LGPL-2"
 SLOT="0"
-IUSE="doc +fortran"
+IUSE="doc +fortran test-rust"
 
 # umfpack is technically optional but it's preferred to have it available.
 DEPEND="
@@ -69,9 +69,11 @@ BDEPEND="
 	doc? ( app-arch/unzip )
 	fortran? ( dev-python/pythran[${PYTHON_USEDEP}] )
 	test? (
-		dev-python/pooch[${PYTHON_USEDEP}]
 		dev-python/pytest-xdist[${PYTHON_USEDEP}]
 	)
+	test-rust? (
+		dev-python/pooch[${PYTHON_USEDEP}]
+	)
 "
 
 EPYTEST_DESELECT=(
@@ -107,6 +109,12 @@ python_configure_all() {
 python_test() {
 	cd "${T}" || die
 
+	if ! has_version -b "dev-python/pooch[${PYTHON_USEDEP}]" ; then
+		EPYTEST_IGNORE+=(
+			datasets/tests/test_data.py
+		)
+	fi
+
 	epytest -n "$(makeopts_jobs)" --pyargs scipy
 }