guix-commits
[Top][All Lists]
Advanced

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

88/131: gnu: python-binwalk: Do not set PYTHONPATH.


From: guix-commits
Subject: 88/131: gnu: python-binwalk: Do not set PYTHONPATH.
Date: Fri, 29 Jan 2021 09:22:09 -0500 (EST)

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

commit b2e5c9c70a2bc69de1423c6ed3f556d3195f8200
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Sun Jan 24 09:50:54 2021 -0500

    gnu: python-binwalk: Do not set PYTHONPATH.
    
    * gnu/packages/python-xyz.scm (python-binwalk)
    [phases]{set-pythonpath}: Rename to...
    {set-home}: ... here.  Do not set PYTHONPATH.  Delete trailing #t.
---
 gnu/packages/python-xyz.scm | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 1985dc0..2c3f7b8 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -13708,14 +13708,9 @@ binary or text.")
     (arguments
      `(#:phases
        (modify-phases %standard-phases
-         (add-before 'check 'set-pythonpath
+         (add-before 'check 'set-home
            (lambda _
-             (setenv "PYTHONPATH"
-                     (string-append
-                      (getcwd) "/src/"
-                      ":" (getenv "PYTHONPATH")))
-             (setenv "HOME" "")
-             #t)))))
+             (setenv "HOME" ""))))))
     (native-inputs
      `(("python-coverage" ,python-coverage)
        ("python-nose" ,python-nose)))



reply via email to

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