mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-18 12:47:33 -05:00
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:
parent
4e152febd3
commit
247667e234
1 changed files with 1 additions and 3 deletions
|
@ -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)))
|
||||
|
|
Loading…
Reference in a new issue