commit: a94d9ab3c28fa4ac98993b5e4c44149f03705873 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Sun Oct 29 06:27:27 2023 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sun Oct 29 06:50:26 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a94d9ab3
dev-python/pythran: fix test linkage with blas Closes: https://bugs.gentoo.org/916461 Signed-off-by: Sam James <sam <AT> gentoo.org> dev-python/pythran/pythran-0.14.0.ebuild | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/dev-python/pythran/pythran-0.14.0.ebuild b/dev-python/pythran/pythran-0.14.0.ebuild index b15f2a17d6e0..8ae4f640ebee 100644 --- a/dev-python/pythran/pythran-0.14.0.ebuild +++ b/dev-python/pythran/pythran-0.14.0.ebuild @@ -52,11 +52,18 @@ BDEPEND=" distutils_enable_tests pytest src_configure() { - cat >> setup.cfg <<-EOF + cat >> setup.cfg <<-EOF || die [build_py] no_boost = True no_xsimd = True EOF + + if use test ; then + sed -i \ + -e 's|blas=blas|blas=cblas|' \ + -e 's|libs=|libs=cblas|' \ + pythran/pythran-*.cfg || die + fi } python_test() {