guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

134/163: gnu: python-matplotlib-documentation: Do not read PYTHONPATH.


From: guix-commits
Subject: 134/163: gnu: python-matplotlib-documentation: Do not read PYTHONPATH.
Date: Mon, 25 Jan 2021 02:01:55 -0500 (EST)

apteryx pushed a commit to branch cu/farewell-to-pythonpath
in repository guix.

commit 6ff7768c4a1f29a18fedf6307300c918b289bd3b
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Sun Jan 24 00:46:49 2021 -0500

    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.
---
 gnu/packages/python-xyz.scm | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index a0e774c..c6b0e3c 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -5168,9 +5168,7 @@ toolkits.")
          (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.*")
@@ -5205,8 +5203,7 @@ toolkits.")
                           "./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))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]