From ecd19b65b6f07a5514ea190dca7091e967417df5 Mon Sep 17 00:00:00 2001 From: Celeste <20312-Celeste@users.gitlab.alpinelinux.org> Date: Mon, 17 Jun 2024 07:56:25 +0000 Subject: [PATCH] community/py3-sympy: limit number of parallel test jobs also, made `rm` in package() non-verbose again --- community/py3-sympy/APKBUILD | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/community/py3-sympy/APKBUILD b/community/py3-sympy/APKBUILD index 80db323d297..b63758f1922 100644 --- a/community/py3-sympy/APKBUILD +++ b/community/py3-sympy/APKBUILD @@ -36,7 +36,10 @@ check() { python3 -m venv --clear --without-pip --system-site-packages .testenv .testenv/bin/python3 -m installer .dist/*.whl - .testenv/bin/python3 -m pytest -n auto --timeout 600 --reruns 3 \ + .testenv/bin/python3 -m pytest \ + -n $((JOBS < 8 ? JOBS : 8)) \ + --timeout 600 \ + --reruns 3 \ --deselect sympy/matrices/tests/test_matrices.py::test_pinv_rank_deficient_when_diagonalization_fails \ --deselect sympy/core/tests/test_sympify.py::test_sympify_factorial \ --deselect sympy/parsing/tests/test_implicit_multiplication_application.py::test_all_implicit_steps \ @@ -50,7 +53,7 @@ package() { python3 -m installer -d "$pkgdir" \ .dist/*.whl - find "$pkgdir" -type d -name "tests" -exec rm -rv {} + + find "$pkgdir" -type d -name "tests" -exec rm -r {} + } sha512sums="