Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
Date: Sat, 25 Sep 2021 13:23:17
Message-Id: 1632576186.157947d0105e325de7f0c5c4773f884004be6ab7.mgorny@gentoo
1 commit: 157947d0105e325de7f0c5c4773f884004be6ab7
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 25 10:56:19 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 25 13:23:06 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=157947d0
7
8 dev-python/scipy: Skip tests broken by new lapack
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/scipy/scipy-1.6.3.ebuild | 7 +++++++
13 1 file changed, 7 insertions(+)
14
15 diff --git a/dev-python/scipy/scipy-1.6.3.ebuild b/dev-python/scipy/scipy-1.6.3.ebuild
16 index e98e4bd9379..08a959a4ad0 100644
17 --- a/dev-python/scipy/scipy-1.6.3.ebuild
18 +++ b/dev-python/scipy/scipy-1.6.3.ebuild
19 @@ -108,6 +108,13 @@ python_prepare_all() {
20 sed -e "s:== 'levy_stable':in ('levy_stable', 'crystalball', 'ncf'):" \
21 -i scipy/stats/tests/test_continuous_basic.py || die
22
23 + if has_version ">=sci-libs/lapack-3.10"; then
24 + sed -e 's:test_sort(:_&:' \
25 + -i scipy/linalg/tests/test_decomp.py || die
26 + sed -e 's:test_solve_discrete_are:_&:' \
27 + -i scipy/linalg/tests/test_solvers.py || die
28 + fi
29 +
30 distutils-r1_python_prepare_all
31 }