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 (define-public python-mako
(package (package
(name "python-mako") (name "python-mako")
(version "1.2.2") (version "1.3.10")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "Mako" version)) (uri (pypi-uri "mako" version))
(sha256 (sha256
(base32 (base32 "0a7ala6k7kn094k3g02b85xfkr20yk0w6a0acgjsfgsq75prlmwr"))))
"0gqnv9py1dqp01jmf5zxp0vj2dbhq1l9zy55fai319iv6sdqc91p")))) (build-system pyproject-build-system)
(build-system python-build-system) (native-inputs
(arguments (list python-pytest
`(#:phases (modify-phases %standard-phases python-setuptools
(replace 'check python-wheel))
(lambda* (#:key tests? #:allow-other-keys)
(if tests?
(invoke "pytest" "-vv")
(format #t "test suite not run~%"))
#t)))))
(propagated-inputs (propagated-inputs
(list python-markupsafe)) (list python-markupsafe))
(native-inputs
(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