gnu: python-jinja2: Update to 3.1.2.

* gnu/packages/python-xyz.scm (python-jinja2): Update to 3.1.2. Format.
[build-system]: Use pyproject-build-system.
[arguments]: Remove uneeded argument.
This commit is contained in:
Nicolas Graves 2023-12-13 22:56:26 +01:00 committed by Ricardo Wurmus
parent 1039ec03be
commit 2528aabf6f
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -6095,26 +6095,17 @@ possible.")
for Python.") for Python.")
(license license:bsd-3))) (license license:bsd-3)))
(define-public python-jinja2 (define-public python-jinja2
(package (package
(name "python-jinja2") (name "python-jinja2")
(version "3.1.1") (version "3.1.2")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "Jinja2" version)) (uri (pypi-uri "Jinja2" version))
(sha256 (sha256
(base32 (base32 "0lp86yadzf8dph67f6g3yxmvnhrzzi863z58jmsrx2j059q1ld9i"))))
"1saawzys14l1p4kafs7hkihmnvqjq8fwxjmkjiqx3jq1nm5ys2v4")))) (build-system pyproject-build-system)
(build-system python-build-system)
(arguments
'(#:phases (modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(if tests?
(invoke "pytest" "-vv")
(format #t "test suite not run~%")))))))
(native-inputs (list python-pytest)) (native-inputs (list python-pytest))
(propagated-inputs (list python-markupsafe)) (propagated-inputs (list python-markupsafe))
(home-page "https://jinja.palletsprojects.com/") (home-page "https://jinja.palletsprojects.com/")
@ -6124,7 +6115,6 @@ for Python.")
written in pure Python.") written in pure Python.")
(license license:bsd-3))) (license license:bsd-3)))
(define-public python-jinja2-time (define-public python-jinja2-time
(package (package
(name "python-jinja2-time") (name "python-jinja2-time")