From 9f1ab898c3d4dace221b62bcdeca4f940c7abee7 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 30 Jan 2024 13:43:32 +0200 Subject: 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 --- gnu/packages/python-science.scm | 31 +++++++++++++++++-------------- 1 file 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 ;;; Copyright © 2016 Ben Woodcroft ;;; Copyright © 2016 Hartmut Goebel -;;; Copyright © 2016, 2022, 2023 Efraim Flashner +;;; Copyright © 2016, 2022-2024 Efraim Flashner ;;; Copyright © 2016-2020, 2022 Marius Bakke ;;; Copyright © 2019 Tobias Geerinckx-Rice ;;; Copyright © 2019, 2021, 2022, 2023 Maxim Cournoyer @@ -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 -- cgit 1.4.1