1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-05-24 01:51:51 +02:00

gnu: python-matplotlib-documentation: Fix build.

* gnu/packages/python-xyz.scm (python-matplotlib-documentation):
[propagated-inputs]: Remove.
[inputs]: Add inputs and propagated-inputs from python-matplotlib.
[native-inputs]: Remove python-sphinx, add python-sphinx-6.

Fixes: guix/guix#4637
Merges: https://codeberg.org/guix/guix/pulls/6797
Change-Id: I516bf89aab447c9de94feb3020b5c0972783f70f
Reviwed-by: Hugo Buddelmeijer <hugo@buddelmeijer.nl>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Yan Abu Arab
2026-03-01 21:12:40 +02:00
committed by Sharlatan Hellseher
parent 6c59ea3e9a
commit 5177c5748c
+9 -1
View File
@@ -12131,6 +12131,13 @@ toolkits.")
;; symlink to it, saving about 11 MiB.
(symlink (string-append html "/_images")
(string-append info "/matplotlib-figures"))))))))
;; Move all propagated inputs to inputs. *-documentation packages are
;; expected to be installed as standalone leaf packages, and not as
;; libraries with propagated inputs.
(propagated-inputs '())
(inputs (append
(package-inputs python-matplotlib)
(package-propagated-inputs python-matplotlib)))
(native-inputs
(list ffmpeg ;for matplotlib animation support
graphviz
@@ -12144,7 +12151,8 @@ toolkits.")
python-numpydoc
python-pyyaml
python-scipy
python-sphinx
;; XXX: investigate how to build using a newer version of sphinx.
python-sphinx-6
python-sphinx-copybutton
python-sphinx-design
python-sphinx-gallery