summaryrefslogtreecommitdiff
path: root/dev-python/pythran
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2023-10-29 18:39:47 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2023-10-29 18:39:47 +0000
commit7fda284960fcfca5f80f2dc5ed222926bbc3f76d (patch)
tree17998a79a1a24b6a90a856270b98d1db7f3e3fe8 /dev-python/pythran
parent0af643c74ae7d041ea5e2e66dddc9c69a516e733 (diff)
downloadbaldeagleos-repo-7fda284960fcfca5f80f2dc5ed222926bbc3f76d.tar.gz
baldeagleos-repo-7fda284960fcfca5f80f2dc5ed222926bbc3f76d.tar.xz
baldeagleos-repo-7fda284960fcfca5f80f2dc5ed222926bbc3f76d.zip
Adding metadata
Diffstat (limited to 'dev-python/pythran')
-rw-r--r--dev-python/pythran/pythran-0.14.0.ebuild16
1 files changed, 9 insertions, 7 deletions
diff --git a/dev-python/pythran/pythran-0.14.0.ebuild b/dev-python/pythran/pythran-0.14.0.ebuild
index 7deb344b65dd..834b01540d65 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() {
@@ -72,13 +79,8 @@ python_test() {
case ${EPYTHON} in
python3.12)
EPYTEST_DESELECT+=(
- pythran/tests/test_cases.py::TestCases::test_convnet_run0
- pythran/tests/test_advanced.py::TestAdvanced::test_matmul_operator
+ # requires numpy.distutils
pythran/tests/test_distutils.py::TestDistutils::test_setup_{b,s}dist_install3
- pythran/tests/test_cases.py::TestCases::test_euclidean_distance_square_run0
- pythran/tests/test_numpy_func2.py::TestNumpyFunc2::test_matrix_power{0..2}
- pythran/tests/test_numpy_func3.py::TestNumpyFunc3::test_dot{5,7,9,11,12b,13,14b}
- pythran/tests/test_numpy_func3.py::TestNumpyFunc3::test_dot{15..23}
)
;;
esac