gnu: python-gunicorn: Do not set PYTHONPATH.
* gnu/packages/python-web.scm (python-gunicorn) [phases]: Delete trailing #t. {check}: Do not set PYTHONPATH.
This commit is contained in:
parent
7b1832dffd
commit
b79a186702
1 changed files with 2 additions and 6 deletions
|
@ -4528,12 +4528,9 @@ (define-public gunicorn
|
|||
(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)
|
||||
|
@ -4550,8 +4547,7 @@ (define-public gunicorn
|
|||
(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)
|
||||
|
|
Loading…
Reference in a new issue