guix-commits
[Top][All Lists]
Advanced

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

02/05: gnu: python-mistune-next: Update to 2.0.4.


From: guix-commits
Subject: 02/05: gnu: python-mistune-next: Update to 2.0.4.
Date: Thu, 17 Nov 2022 06:07:35 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit c8ae11e77557cd20b1c7fc780c20306083ad6405
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Nov 17 12:38:41 2022 +0200

    gnu: python-mistune-next: Update to 2.0.4.
    
    * gnu/packages/python-xyz.scm (python-mistune-next): Update to 2.0.4.
    [arguments]: Add custom 'check phase.
    [native-inputs]: Remove python-nose, add python-pytest.
---
 gnu/packages/python-xyz.scm | 14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 1758450c2f..7f0dc8fba0 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -11284,14 +11284,22 @@ Python.")
   (package
     (inherit python-mistune)
     (name "python-mistune-next")
-    (version "2.0.0rc1")
+    (version "2.0.4")
     (source (origin
               (method url-fetch)
               (uri (pypi-uri "mistune" version))
               (sha256
                (base32
-                "1nd7iav1ixh9hlj4hxn6lmpava88d86ys8rqm30wgvr7gjlxnas5"))))
-    (native-inputs (list python-nose))))
+                "024q9l6mgd37wa25w7dhskv1m3zsj5lf0w9cfyx7l9p2adhadq4y"))))
+    (arguments
+     (list
+      #:phases
+      #~(modify-phases %standard-phases
+          (replace 'check
+            (lambda* (#:key tests? #:allow-other-keys)
+              (when tests?
+                (invoke "pytest" "-vv")))))))
+    (native-inputs (list python-pytest))))
 
 (define-public python-markdown
   (package



reply via email to

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