gnu: python-click: Do not set PYTHONPATH.

* gnu/packages/python-xyz.scm (python-click)
[phases]{check}: Do not set PYTHONPATH.
This commit is contained in:
Maxim Cournoyer 2021-01-24 00:36:04 -05:00
parent 4e152febd3
commit 247667e234
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -2653,11 +2653,9 @@ (define-public python-click
"cross-libc" "libc"))))
(substitute* "src/click/_unicodefun.py"
(("'locale'")
(string-append "'" glibc "/bin/locale'"))))
#t))
(string-append "'" glibc "/bin/locale'"))))))
(replace 'check
(lambda _
(setenv "PYTHONPATH" (string-append "./src:" (getenv "PYTHONPATH")))
(invoke "python" "-m" "pytest"))))))
(native-inputs
`(("python-pytest" ,python-pytest)))