gnu: Respect --cores build argument in some python packages.

Reported by Greg Hogan <code@greghogan.com> in #74445.

* gnu/packages/astronomy.scm (python-asdf-astropy, python-astropy,
python-photutils, python-poppy, python-regions, python-reproject,
python-sunpy, python-spectral-cube, python-stdatamodels, python-pysiaf,
python-sbpy, python-asdf-coordinates-schemas, python-roman-datamodels,
python-webbpsf, python-yt):
[arguments]<test-flags>: Adjust "-n" or "--numprocess" to respect
"--cores" build argument.

* gnu/packages/check.scm (python-crosshair): Likewise.

* gnu/packages/databases.scm (python-fastparquet, python-pycurl, awscli,
python-s3transfer): Likewise.

* gnu/packages/python-xyz.scm (python-glymur, python-zarr, python-dask):
Likewise.

Change-Id: Ifbc6435e4ad22b0ae822b485bccca41eaa165cc5
This commit is contained in:
Sharlatan Hellseher 2024-11-20 20:33:10 +00:00
parent 8d6389b866
commit d3b010c38c
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5
5 changed files with 24 additions and 23 deletions

View file

@ -5203,7 +5203,7 @@ other traditional Python scientific computing packages.")
(arguments
(list
#:test-flags
#~(list "-n" "auto")
#~(list "--numprocesses" (number->string (parallel-job-count)))
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'relax-requirements