summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorYan Abu Arab <yanabuarab@gmail.com>2026-02-13 14:07:21 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2026-02-13 17:05:04 +0000
commit5dd37b30b4acc0ab3909850334cb13000c2ab931 (patch)
treec67bb3a3fdf0bae54215c93ede8b0803e3aa45c9 /gnu/packages/python-xyz.scm
parent847dc67adfb36b8e8deba587cab3f749c21363ad (diff)
gnu: python-numpy-documentation: Fix build.
* gnu/packages/python-xyz.scm (python-numpy-documentation)[phases]: Adjust 'avoid-external-deps' to up to date source code. [native-inputs]: Add python-jupyterlite-sphinx, python-sphinx-copybutton. Fixes: guix/guix#5539 Merges: https://codeberg.org/guix/guix/pulls/6374 Change-Id: I12874e13e36d1cd62f2fa94408c22c185586187a Reviewed-by: Hugo Buddelmeijer <hugo@buddelmeijer.nl> Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm12
1 files changed, 9 insertions, 3 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 5c6e1c1866a..156e7d7ca67 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -11188,14 +11188,18 @@ numpysane has:
#~(modify-phases %standard-phases
(add-after 'unpack 'avoid-external-deps
(lambda _
+ ;; XXX: Avoid search-button to avoid sphinx error
+ ;; TemplateNotFound('search-button.html')
+ (substitute* "doc/source/conf.py"
+ (("\"search-button\",") ""))
;; XXX: Avoid theme-switcher to avoid sphinx error
;; TemplateNotFound('theme-switcher.html')
+ (substitute* "doc/source/conf.py"
+ (("\"theme-switcher\",") ""))
;; XXX: Avoid version-switcher because it depends on the value
;; of external https://numpy.org/doc/_static/versions.json
(substitute* "doc/source/conf.py"
- (("\
-\"navbar_end\": \\[\"theme-switcher\", \"version-switcher\", ")
- "\"navbar_end\": ["))))
+ (("\"version-switcher\",") ""))))
(add-before 'build 'add-gnu-freefont-to-texmf
(lambda _
;; XXX: The Sphinx-generated tex output specifies the GNU
@@ -11262,6 +11266,7 @@ numpysane has:
perl
python-breathe
python-ipython
+ python-jupyterlite-sphinx
python-matplotlib
python-numpy
python-numpydoc
@@ -11269,6 +11274,7 @@ numpysane has:
python-pydata-sphinx-theme
python-scipy ;used by matplotlib
python-sphinx
+ python-sphinx-copybutton
python-sphinx-design
texinfo
(texlive-local-tree