mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-msgpack: Do not set PYTHONPATH.
* gnu/packages/python-xyz.scm (python-msgpack) [phases]{check}: Do not set PYTHONPATH.
This commit is contained in:
parent
77b8545326
commit
588468c688
1 changed files with 1 additions and 8 deletions
|
@ -8731,14 +8731,7 @@ third-party code.")
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda _
|
(lambda _
|
||||||
(let ((cwd (getcwd)))
|
(invoke "pytest" "-v" "test"))))))
|
||||||
(setenv "PYTHONPATH"
|
|
||||||
(string-append cwd "/build/"
|
|
||||||
(find (cut string-prefix? "lib" <>)
|
|
||||||
(scandir (string-append cwd "/build")))
|
|
||||||
":"
|
|
||||||
(getenv "PYTHONPATH")))
|
|
||||||
(invoke "pytest" "-v" "test")))))))
|
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("python-pytest" ,python-pytest)))
|
`(("python-pytest" ,python-pytest)))
|
||||||
(synopsis "MessagePack (de)serializer")
|
(synopsis "MessagePack (de)serializer")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue