guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

70/131: gnu: python-pymediainfo: Do not set PYTHONPATH.


From: guix-commits
Subject: 70/131: gnu: python-pymediainfo: Do not set PYTHONPATH.
Date: Mon, 1 Feb 2021 11:56:50 -0500 (EST)

apteryx pushed a commit to branch core-updates
in repository guix.

commit 2cbad73e0698f64b48436c7f2d042c3f7dfa0c30
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Sun Jan 24 00:31:08 2021 -0500

    gnu: python-pymediainfo: Do not set PYTHONPATH.
    
    * gnu/packages/python-xyz.scm (python-pymediainfo)
    [phases]{check}: Do not set PYTHONPATH.
---
 gnu/packages/python-xyz.scm | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index a0b0034..e25866f 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]