gnu: python-mako: Update to 1.3.10.

* gnu/packages/python-xyz.scm (python-mako): Update to 1.3.10.
  [buid-system]: Use pyproject.
  [arguments] <phases>: Use default 'check.
  [native-inputs]: Remove python-mock; add python-setuptools and
  python-wheel.

Change-Id: I3bf921cd52ee4671ab34820fe1a35b34db226251
This commit is contained in:
Sharlatan Hellseher 2025-07-14 22:02:23 +01:00
parent 64ba2f63c3
commit 6212b2fbb9
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -21243,27 +21243,20 @@ of @acronym{REGEXPs, regular expressions}.")
(define-public python-mako
(package
(name "python-mako")
(version "1.2.2")
(version "1.3.10")
(source
(origin
(method url-fetch)
(uri (pypi-uri "Mako" version))
(uri (pypi-uri "mako" version))
(sha256
(base32
"0gqnv9py1dqp01jmf5zxp0vj2dbhq1l9zy55fai319iv6sdqc91p"))))
(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~%"))
#t)))))
(base32 "0a7ala6k7kn094k3g02b85xfkr20yk0w6a0acgjsfgsq75prlmwr"))))
(build-system pyproject-build-system)
(native-inputs
(list python-pytest
python-setuptools
python-wheel))
(propagated-inputs
(list python-markupsafe))
(native-inputs
(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