guix-commits
[Top][All Lists]
Advanced

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

02/14: gnu: python-utils: Update to 2.4.0.


From: guix-commits
Subject: 02/14: gnu: python-utils: Update to 2.4.0.
Date: Tue, 23 Jun 2020 17:30:22 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit 57be09b207f8691ea303fce9c6d76c892e3fed13
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Tue Jun 23 16:38:57 2020 +0200

    gnu: python-utils: Update to 2.4.0.
    
    * gnu/packages/python-xyz.scm (python-utils): Update to 2.4.0.
    [arguments]: Replace check phase.
---
 gnu/packages/python-xyz.scm | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 10cf27d..a88865e 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -14187,14 +14187,22 @@ exception message with a traceback that points to the 
culprit.")
 (define-public python-utils
   (package
     (name "python-utils")
-    (version "2.1.0")
+    (version "2.4.0")
     (source (origin
               (method url-fetch)
               (uri (pypi-uri "python-utils" version))
               (sha256
                (base32
-                "1mcsy6q5am4ya72rgkpb6kax6vv7c93cfkkas89xnpa4sj9zf28p"))))
+                "12c0glzkm81ljgf6pwh0d4rmdm1r7vvgg3ifzp8yp9cfyngw07zj"))))
     (build-system python-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda* (#:key inputs outputs #:allow-other-keys)
+             (add-installed-pythonpath inputs outputs)
+             (delete-file "pytest.ini")
+             (invoke "pytest" "-vv"))))))
     (native-inputs
      `(("pytest-runner" ,python-pytest-runner)
        ("pytest" ,python-pytest)



reply via email to

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