[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/02: gnu: python-scipy: Enable building on more architectures.
From: |
guix-commits |
Subject: |
02/02: gnu: python-scipy: Enable building on more architectures. |
Date: |
Tue, 30 Jan 2024 06:56:47 -0500 (EST) |
efraim pushed a commit to branch master
in repository guix.
commit 9f1ab898c3d4dace221b62bcdeca4f940c7abee7
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Jan 30 13:43:32 2024 +0200
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 <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