gnu: python-colorlog: Do not set PYTHONPATH.

* gnu/packages/python-xyz.scm (python-colorlog)
[phases]{check}: Do not set PYTHONPATH.
This commit is contained in:
Maxim Cournoyer 2021-01-24 00:30:24 -05:00
parent 141a90ea2c
commit 7f081f43ed
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -334,12 +334,7 @@ (define-public python-colorlog
`(#:phases (modify-phases %standard-phases
(replace 'check
(lambda _
;; Extend PYTHONPATH so the built package will be found.
(setenv "PYTHONPATH"
(string-append (getcwd) "/build/lib:"
(getenv "PYTHONPATH")))
(invoke "pytest" "-p" "no:logging")
#t)))))
(invoke "pytest" "-p" "no:logging"))))))
(home-page "https://github.com/borntyping/python-colorlog")
(synopsis "Log formatting with colors for python")
(description "The @code{colorlog.ColoredFormatter} is a formatter for use