guix-commits
[Top][All Lists]
Advanced

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

branch core-updates-frozen updated: gnu: python2-virtualenv: Remove unne


From: guix-commits
Subject: branch core-updates-frozen updated: gnu: python2-virtualenv: Remove unnecessary build phase.
Date: Thu, 18 Nov 2021 10:35:42 -0500

This is an automated email from the git hooks/post-receive script.

rekado pushed a commit to branch core-updates-frozen
in repository guix.

The following commit(s) were added to refs/heads/core-updates-frozen by this 
push:
     new adebc0c  gnu: python2-virtualenv: Remove unnecessary build phase.
adebc0c is described below

commit adebc0c9fa3941c36fb69b9fb47c765ed2dc155d
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Thu Nov 18 15:35:09 2021 +0000

    gnu: python2-virtualenv: Remove unnecessary build phase.
    
    * gnu/packages/python-xyz.scm (python2-virtualenv)[arguments]: Remove field.
---
 gnu/packages/python-xyz.scm | 23 -----------------------
 1 file changed, 23 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index e8d1214..bc2e76b 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -3867,29 +3867,6 @@ e.g. filters, callbacks and errbacks can all be 
promises.")
   (let ((base (package-with-python2 (strip-python2-variant 
python-virtualenv))))
     (package
       (inherit base)
-      (arguments
-       `(#:python ,python-2
-         #:phases
-         (modify-phases %standard-phases
-           (add-after 'set-paths 'adjust-PYTHONPATH
-             (lambda* (#:key inputs #:allow-other-keys)
-               (let* ((python (assoc-ref inputs "python"))
-                      (python-sitedir (string-append python "/lib/python2.7"
-                                                     "/site-packages")))
-                 ;; XXX: 'python2' always comes first on PYTHONPATH
-                 ;; and shadows the 'setuptools' input.  Move python2
-                 ;; last: this should be fixed in python-build-system
-                 ;; in a future rebuild cycle.
-                 (setenv "PYTHONPATH"
-                         (string-append (string-join (delete python-sitedir
-                                                             (string-split
-                                                              (getenv 
"PYTHONPATH")
-                                                              #\:))
-                                                     ":")
-                                        ":" python-sitedir))
-                 (format #t "environment variable `PYTHONPATH' changed to 
`~a'~%"
-                         (getenv "PYTHONPATH"))
-                 #t))))))
       (propagated-inputs
        `(("python-contextlib2" ,python2-contextlib2)
          ,@(package-propagated-inputs base))))))



reply via email to

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