guix-commits
[Top][All Lists]
Advanced

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

143/163: gnu: python-binwalk: Do not set PYTHONPATH.


From: guix-commits
Subject: 143/163: gnu: python-binwalk: Do not set PYTHONPATH.
Date: Mon, 25 Jan 2021 02:01:58 -0500 (EST)

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

commit 9133d91f6ef67b6efd38832955bfb89fe26a0d4f
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 b1a6996..443c5af 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -13692,14 +13692,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]