From 17f0e8d24f56bb0bdfcbc14b482cfcba30f57ad0 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Fri, 22 Jul 2022 14:51:42 +0200 Subject: [PATCH] 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 @@ (define-public python-xdoctest (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