mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-18 12:47:33 -05:00
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 _
|
(lambda _
|
||||||
(invoke "make" "-C" "docs" "PAPER=a4" "html" "info")
|
(invoke "make" "-C" "docs" "PAPER=a4" "html" "info")
|
||||||
(delete-file "docs/build/texinfo/Makefile")
|
(delete-file "docs/build/texinfo/Makefile")
|
||||||
(delete-file "docs/build/texinfo/Gunicorn.texi")
|
(delete-file "docs/build/texinfo/Gunicorn.texi")))
|
||||||
#t))
|
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda _
|
(lambda _
|
||||||
(setenv "PYTHONPATH"
|
|
||||||
(string-append ".:" (getenv "PYTHONPATH")))
|
|
||||||
(invoke "pytest")))
|
(invoke "pytest")))
|
||||||
(add-after 'install 'install-doc
|
(add-after 'install 'install-doc
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
|
@ -4550,8 +4547,7 @@ (define-public gunicorn
|
||||||
(copy-recursively "examples" examples)
|
(copy-recursively "examples" examples)
|
||||||
(for-each (lambda (file)
|
(for-each (lambda (file)
|
||||||
(copy-file file (string-append doc "/" file)))
|
(copy-file file (string-append doc "/" file)))
|
||||||
'("README.rst" "NOTICE" "LICENSE" "THANKS")))
|
'("README.rst" "NOTICE" "LICENSE" "THANKS"))))))))
|
||||||
#t)))))
|
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("binutils" ,binutils) ;; for ctypes.util.find_library()
|
`(("binutils" ,binutils) ;; for ctypes.util.find_library()
|
||||||
("python-aiohttp" ,python-aiohttp)
|
("python-aiohttp" ,python-aiohttp)
|
||||||
|
|
Loading…
Reference in a new issue