guix-commits
[Top][All Lists]
Advanced

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

22/25: gnu: python-mako: Update to 1.2.1.


From: guix-commits
Subject: 22/25: gnu: python-mako: Update to 1.2.1.
Date: Sat, 23 Jul 2022 13:44:50 -0400 (EDT)

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

commit 17f0e8d24f56bb0bdfcbc14b482cfcba30f57ad0
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Fri Jul 22 14:51:42 2022 +0200

    gnu: python-mako: Update to 1.2.1.
    
    * gnu/packages/python-xyz.scm (python-mako): Update to 1.2.1.
    [native-inputs]: Change from PYTHON-NOSE to PYTHON-PYTEST.
    [arguments]: Adjust check phase accordingly.
---
 gnu/packages/python-xyz.scm | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 0ef24da0a2..cc7d6860bf 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -14920,27 +14920,27 @@ of @acronym{REGEXPs, regular expressions}.")
 (define-public python-mako
   (package
     (name "python-mako")
-    (version "1.1.3")
+    (version "1.2.1")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "Mako" version))
        (sha256
         (base32
-         "09ywrmhr6gdyfx6d5727wwjnz73i6rklqcb4c14m7sqc830wi5c1"))))
+         "01q3gdqpxqcxdhacrzrwk6fjpd1krdr73i7cm4d2yja38zzsam7h"))))
     (build-system python-build-system)
     (arguments
      `(#:phases (modify-phases %standard-phases
                   (replace 'check
                     (lambda* (#:key tests? #:allow-other-keys)
                       (if tests?
-                          (invoke "nosetests" "-v")
+                          (invoke "pytest" "-vv")
                           (format #t "test suite not run~%"))
                       #t)))))
     (propagated-inputs
      (list python-markupsafe))
     (native-inputs
-     (list python-mock python-nose))
+     (list python-mock python-pytest))
     (home-page "https://www.makotemplates.org/";)
     (synopsis "Templating language for Python")
     (description "Mako is a templating language for Python that compiles



reply via email to

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