me
/
guix
Archived
1
0
Fork 0

gnu: python-pymediainfo: Do not set PYTHONPATH.

* gnu/packages/python-xyz.scm (python-pymediainfo)
[phases]{check}: Do not set PYTHONPATH.
master
Maxim Cournoyer 2021-01-24 00:31:08 -05:00
parent 7f081f43ed
commit 2cbad73e06
No known key found for this signature in database
GPG Key ID: 1260E46482E63562
1 changed files with 1 additions and 6 deletions

View File

@ -497,13 +497,8 @@ simple function calls.")
#t))
(replace 'check
(lambda _
;; Extend PYTHONPATH so the built package will be found.
(setenv "PYTHONPATH"
(string-append (getcwd) "/build/lib:"
(getenv "PYTHONPATH")))
;; Skip the only failing test "test_parse_url"
(invoke "pytest" "-vv" "-k" "not test_parse_url")
#t)))))
(invoke "pytest" "-vv" "-k" "not test_parse_url"))))))
(home-page
"https://github.com/sbraz/pymediainfo")
(synopsis