gnu: python-numpy-documentation: Use texlive-union.

* gnu/packages/python.scm (python-numpy-documentation)[native-inputs]: Replace
"texlive" with a texlive-union.
This commit is contained in:
Ricardo Wurmus 2017-07-09 23:06:44 +02:00
parent 2805f9b2a0
commit 8b89c1717c
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -3720,7 +3720,39 @@ (define-public python-numpy-documentation
("pkg-config" ,pkg-config)
("python-sphinx" ,python-sphinx)
("python-numpydoc" ,python-numpydoc)
("texlive" ,texlive)
("texlive" ,(texlive-union (list texlive-fonts-amsfonts
texlive-fonts-ec
texlive-generic-ifxetex
texlive-generic-pdftex
texlive-latex-amsfonts
texlive-latex-capt-of
texlive-latex-cmap
texlive-latex-environ
texlive-latex-eqparbox
texlive-latex-etoolbox
texlive-latex-expdlist
texlive-latex-fancyhdr
texlive-latex-fancyvrb
texlive-latex-fncychap
texlive-latex-float
texlive-latex-framed
texlive-latex-geometry
texlive-latex-graphics
texlive-latex-hyperref
texlive-latex-mdwtools
texlive-latex-multirow
texlive-latex-oberdiek
texlive-latex-parskip
texlive-latex-preview
texlive-latex-tabulary
texlive-latex-threeparttable
texlive-latex-titlesec
texlive-latex-trimspaces
texlive-latex-ucs
texlive-latex-upquote
texlive-latex-url
texlive-latex-varwidth
texlive-latex-wrapfig)))
("texinfo" ,texinfo)
("perl" ,perl)
("scipy-sphinx-theme"
@ -3749,6 +3781,11 @@ (define-public python-numpy-documentation
(scipy-sphinx-theme "scipy-sphinx-theme")
(sphinx-theme-checkout (assoc-ref inputs scipy-sphinx-theme))
(pyver ,(string-append "PYVER=")))
;; FIXME: this is needed to for texlive-union to generate
;; fonts, which are not found.
(setenv "HOME" "/tmp")
(with-directory-excursion "doc"
(copy-recursively sphinx-theme-checkout scipy-sphinx-theme)
(mkdir-p html)