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.
This commit is contained in:
parent
f46d117838
commit
17f0e8d24f
1 changed files with 4 additions and 4 deletions
|
@ -14920,27 +14920,27 @@ of @acronym{REGEXPs, regular expressions}.")
|
||||||
(define-public python-mako
|
(define-public python-mako
|
||||||
(package
|
(package
|
||||||
(name "python-mako")
|
(name "python-mako")
|
||||||
(version "1.1.3")
|
(version "1.2.1")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "Mako" version))
|
(uri (pypi-uri "Mako" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"09ywrmhr6gdyfx6d5727wwjnz73i6rklqcb4c14m7sqc830wi5c1"))))
|
"01q3gdqpxqcxdhacrzrwk6fjpd1krdr73i7cm4d2yja38zzsam7h"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases (modify-phases %standard-phases
|
`(#:phases (modify-phases %standard-phases
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda* (#:key tests? #:allow-other-keys)
|
(lambda* (#:key tests? #:allow-other-keys)
|
||||||
(if tests?
|
(if tests?
|
||||||
(invoke "nosetests" "-v")
|
(invoke "pytest" "-vv")
|
||||||
(format #t "test suite not run~%"))
|
(format #t "test suite not run~%"))
|
||||||
#t)))))
|
#t)))))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list python-markupsafe))
|
(list python-markupsafe))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list python-mock python-nose))
|
(list python-mock python-pytest))
|
||||||
(home-page "https://www.makotemplates.org/")
|
(home-page "https://www.makotemplates.org/")
|
||||||
(synopsis "Templating language for Python")
|
(synopsis "Templating language for Python")
|
||||||
(description "Mako is a templating language for Python that compiles
|
(description "Mako is a templating language for Python that compiles
|
||||||
|
|
Reference in a new issue