guix-commits
[Top][All Lists]
Advanced

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

163/163: gnu: python-gunicorn: Do not set PYTHONPATH.


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

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

commit c8e1f2cc6b4c51319ab77a1733a79d6e5976baf7
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Sun Jan 24 14:23:55 2021 -0500

    gnu: python-gunicorn: Do not set PYTHONPATH.
    
    * gnu/packages/python-web.scm (python-gunicorn)
    [phases]: Delete trailing #t.
    {check}: Do not set PYTHONPATH.
---
 gnu/packages/python-web.scm | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index aedd124..07e8b71 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -4527,12 +4527,9 @@ event loop.  It is implemented in Cython and uses libuv 
under the hood.")
            (lambda _
              (invoke "make" "-C" "docs" "PAPER=a4" "html" "info")
              (delete-file "docs/build/texinfo/Makefile")
-             (delete-file "docs/build/texinfo/Gunicorn.texi")
-             #t))
+             (delete-file "docs/build/texinfo/Gunicorn.texi")))
          (replace 'check
            (lambda _
-             (setenv "PYTHONPATH"
-                     (string-append ".:" (getenv "PYTHONPATH")))
              (invoke "pytest")))
          (add-after 'install 'install-doc
            (lambda* (#:key outputs #:allow-other-keys)
@@ -4549,8 +4546,7 @@ event loop.  It is implemented in Cython and uses libuv 
under the hood.")
                (copy-recursively "examples" examples)
                (for-each (lambda (file)
                            (copy-file file (string-append doc "/" file)))
-                         '("README.rst" "NOTICE" "LICENSE" "THANKS")))
-             #t)))))
+                         '("README.rst" "NOTICE" "LICENSE" "THANKS"))))))))
     (native-inputs
      `(("binutils" ,binutils)  ;; for ctypes.util.find_library()
        ("python-aiohttp" ,python-aiohttp)



reply via email to

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