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.")
(license license:bsd-3)))
(define-public python-jinja2
(package
(name "python-jinja2")
(version "3.1.1")
(version "3.1.2")
(source
(origin
(method url-fetch)
(uri (pypi-uri "Jinja2" version))
(sha256
(base32
"1saawzys14l1p4kafs7hkihmnvqjq8fwxjmkjiqx3jq1nm5ys2v4"))))
(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~%")))))))
(base32 "0lp86yadzf8dph67f6g3yxmvnhrzzi863z58jmsrx2j059q1ld9i"))))
(build-system pyproject-build-system)
(native-inputs (list python-pytest))
(propagated-inputs (list python-markupsafe))
(home-page "https://jinja.palletsprojects.com/")
@ -6124,7 +6115,6 @@ for Python.")
written in pure Python.")
(license license:bsd-3)))
(define-public python-jinja2-time
(package
(name "python-jinja2-time")