summary refs log tree commit diff
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2021-01-24 00:31:08 -0500
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2021-02-01 11:53:53 -0500
commit2cbad73e0698f64b48436c7f2d042c3f7dfa0c30 (patch)
treea8d635c7516639de85ef375688b148bda1e1a542
parent7f081f43ed027fcf00a5fe7ab516586c80ed1cec (diff)
downloadguix-2cbad73e0698f64b48436c7f2d042c3f7dfa0c30.tar.gz
gnu: python-pymediainfo: Do not set PYTHONPATH.
* gnu/packages/python-xyz.scm (python-pymediainfo)
[phases]{check}: Do not set PYTHONPATH.
-rw-r--r--gnu/packages/python-xyz.scm7
1 files changed, 1 insertions, 6 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index a0b0034966..e25866f4b7 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -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