commit: 157947d0105e325de7f0c5c4773f884004be6ab7
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 25 10:56:19 2021 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Sep 25 13:23:06 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=157947d0
dev-python/scipy: Skip tests broken by new lapack
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/scipy/scipy-1.6.3.ebuild | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/dev-python/scipy/scipy-1.6.3.ebuild
b/dev-python/scipy/scipy-1.6.3.ebuild
index e98e4bd9379..08a959a4ad0 100644
--- a/dev-python/scipy/scipy-1.6.3.ebuild
+++ b/dev-python/scipy/scipy-1.6.3.ebuild
@@ -108,6 +108,13 @@ python_prepare_all() {
sed -e "s:== 'levy_stable':in ('levy_stable', 'crystalball', 'ncf'):" \
-i scipy/stats/tests/test_continuous_basic.py || die
+ if has_version ">=sci-libs/lapack-3.10"; then
+ sed -e 's:test_sort(:_&:' \
+ -i scipy/linalg/tests/test_decomp.py || die
+ sed -e 's:test_solve_discrete_are:_&:' \
+ -i scipy/linalg/tests/test_solvers.py || die
+ fi
+
distutils-r1_python_prepare_all
}