me
/
guix
Archived
1
0
Fork 0

gnu: python-msgpack: Do not set PYTHONPATH.

* gnu/packages/python-xyz.scm (python-msgpack)
[phases]{check}: Do not set PYTHONPATH.
master
Maxim Cournoyer 2021-01-24 00:54:15 -05:00
parent 77b8545326
commit 588468c688
No known key found for this signature in database
GPG Key ID: 1260E46482E63562
1 changed files with 1 additions and 8 deletions

View File

@ -8731,14 +8731,7 @@ third-party code.")
(modify-phases %standard-phases
(replace 'check
(lambda _
(let ((cwd (getcwd)))
(setenv "PYTHONPATH"
(string-append cwd "/build/"
(find (cut string-prefix? "lib" <>)
(scandir (string-append cwd "/build")))
":"
(getenv "PYTHONPATH")))
(invoke "pytest" "-v" "test")))))))
(invoke "pytest" "-v" "test"))))))
(native-inputs
`(("python-pytest" ,python-pytest)))
(synopsis "MessagePack (de)serializer")