mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-18 12:47:33 -05:00
gnu: python-matplotlib-documentation: Do not read PYTHONPATH.
* gnu/packages/python-xyz.scm (python-matplotlib-documentation): Delete trailing #t. [phases]{build}: Do not read PYTHONPATH from the environment.
This commit is contained in:
parent
5271099e82
commit
210a97cf7d
1 changed files with 2 additions and 5 deletions
|
@ -5175,9 +5175,7 @@ (define-public python-matplotlib-documentation
|
|||
(replace 'build
|
||||
(lambda _
|
||||
(chdir "doc")
|
||||
(setenv "PYTHONPATH"
|
||||
(string-append (getenv "PYTHONPATH")
|
||||
":" (getcwd) "/../examples/units"))
|
||||
(setenv "PYTHONPATH" "../examples/units")
|
||||
(substitute* "conf.py"
|
||||
;; Don't use git.
|
||||
(("^SHA = check_output.*")
|
||||
|
@ -5212,8 +5210,7 @@ (define-public python-matplotlib-documentation
|
|||
"./matplotlib-figures")
|
||||
(invoke "makeinfo" "--no-split"
|
||||
"-o" "matplotlib.info" "matplotlib.texi"))
|
||||
(install-file "build/texinfo/matplotlib.info" info))
|
||||
#t)))))
|
||||
(install-file "build/texinfo/matplotlib.info" info)))))))
|
||||
(home-page (package-home-page python-matplotlib))
|
||||
(synopsis "Documentation for the python-matplotlib package")
|
||||
(description (package-description python-matplotlib))
|
||||
|
|
Loading…
Reference in a new issue