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:
Maxim Cournoyer 2021-01-24 14:23:55 -05:00
parent 7b1832dffd
commit b79a186702
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -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)