diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-01-30 13:43:32 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-01-30 13:43:32 +0200 |
commit | 9f1ab898c3d4dace221b62bcdeca4f940c7abee7 (patch) | |
tree | a31cf511a53918f626502d90849edc0030fdb236 /gnu/packages | |
parent | 7bf98da98bd07923956e99e753ac7544333fd202 (diff) | |
download | guix-9f1ab898c3d4dace221b62bcdeca4f940c7abee7.tar.gz guix-9f1ab898c3d4dace221b62bcdeca4f940c7abee7.zip |
gnu: python-scipy: Enable building on more architectures.
* gnu/packages/python-science.scm (python-scipy)[propagated-inputs]:
Only include python-jupytext on systems where it is supported.
Change-Id: Ic085094e4e3977e4c0698e8c03de09ee8e70f144
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/python-science.scm | 31 |
1 files changed, 17 insertions, 14 deletions
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index 2affbd3fa5..a0123dac21 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -3,7 +3,7 @@ ;;; Copyright © 2015 Federico Beffa <beffa@fbengineering.ch> ;;; Copyright © 2016 Ben Woodcroft <donttrustben@gmail.com> ;;; Copyright © 2016 Hartmut Goebel <h.goebel@crazy-compilers.com> -;;; Copyright © 2016, 2022, 2023 Efraim Flashner <efraim@flashner.co.il> +;;; Copyright © 2016, 2022-2024 Efraim Flashner <efraim@flashner.co.il> ;;; Copyright © 2016-2020, 2022 Marius Bakke <marius@gnu.org> ;;; Copyright © 2019 Tobias Geerinckx-Rice <me@tobias.gr> ;;; Copyright © 2019, 2021, 2022, 2023 Maxim Cournoyer <maxim.cournoyer@gmail.com> @@ -137,19 +137,22 @@ (copy-recursively "build/html" html))) (format #t "sphinx-build not found, skipping~%")))))))) (propagated-inputs - (list python-jupytext - python-matplotlib - python-mpmath - python-mypy - python-numpy - python-numpydoc - python-pydata-sphinx-theme - python-pydevtool - python-pythran - python-rich-click - python-sphinx - python-threadpoolctl - python-typing-extensions)) + (append + (if (supported-package? python-jupytext) ; Depends on pandoc. + (list python-jupytext) + '()) + (list python-matplotlib + python-mpmath + python-mypy + python-numpy + python-numpydoc + python-pydata-sphinx-theme + python-pydevtool + python-pythran + python-rich-click + python-sphinx + python-threadpoolctl + python-typing-extensions))) (inputs (list openblas pybind11-2.10)) (native-inputs (list gfortran |