me
/
guix
Archived
1
0
Fork 0

gnu: python-gunicorn: Do not set PYTHONPATH.

* gnu/packages/python-web.scm (python-gunicorn)
[phases]: Delete trailing #t.
{check}: Do not set PYTHONPATH.
master
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
1 changed files with 2 additions and 6 deletions

View File

@ -4528,12 +4528,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)
@ -4550,8 +4547,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)