Archived
1
0
Fork 0

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:
Maxim Cournoyer 2021-01-24 00:46:49 -05:00
parent 5271099e82
commit 210a97cf7d
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -5175,9 +5175,7 @@ toolkits.")
(replace 'build (replace 'build
(lambda _ (lambda _
(chdir "doc") (chdir "doc")
(setenv "PYTHONPATH" (setenv "PYTHONPATH" "../examples/units")
(string-append (getenv "PYTHONPATH")
":" (getcwd) "/../examples/units"))
(substitute* "conf.py" (substitute* "conf.py"
;; Don't use git. ;; Don't use git.
(("^SHA = check_output.*") (("^SHA = check_output.*")
@ -5212,8 +5210,7 @@ toolkits.")
"./matplotlib-figures") "./matplotlib-figures")
(invoke "makeinfo" "--no-split" (invoke "makeinfo" "--no-split"
"-o" "matplotlib.info" "matplotlib.texi")) "-o" "matplotlib.info" "matplotlib.texi"))
(install-file "build/texinfo/matplotlib.info" info)) (install-file "build/texinfo/matplotlib.info" info)))))))
#t)))))
(home-page (package-home-page python-matplotlib)) (home-page (package-home-page python-matplotlib))
(synopsis "Documentation for the python-matplotlib package") (synopsis "Documentation for the python-matplotlib package")
(description (package-description python-matplotlib)) (description (package-description python-matplotlib))