gnu: python-markupsafe: Update to 3.0.2.

* gnu/packages/python-xyz.scm (python-markupsafe): Update to 3.0.2.
[source]: Update project name (it is lowercase now).
[build-system]: Use pyproject-build-system.
[arguments]: Run pytest with default verbosity provided by the build
system.
[native-inputs]: Add python-setuptools and python-wheel.

Change-Id: I76b03fd0c28bbfdd2e5f2260fd34cba0f39d08d9
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
wrobell 2025-06-21 23:43:06 +01:00 committed by Sharlatan Hellseher
parent 3b7f6204f7
commit be676c39b6
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -8001,24 +8001,16 @@ possible.")
(define-public python-markupsafe (define-public python-markupsafe
(package (package
(name "python-markupsafe") (name "python-markupsafe")
(version "2.1.1") (version "3.0.2")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "MarkupSafe" version)) (uri (pypi-uri "markupsafe" version))
(sha256 (sha256
(base32 (base32 "1w1b1a5pskpqhx1mb53rgpv9srplhrrkr4hsl67f8rq1z3nx6mgf"))))
"0jqxp5sfrc0byp6bk0gwdmildi4mck2gprp42afri3z4r5y1k4bz")))) (build-system pyproject-build-system)
(build-system python-build-system) (native-inputs (list python-pytest python-setuptools python-wheel))
(arguments (home-page "https://markupsafe.palletsprojects.com")
`(#:phases (modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(invoke "pytest" "-vv")))))))
(native-inputs
(list python-pytest))
(home-page "https://github.com/mitsuhiko/markupsafe")
(synopsis "XML/HTML/XHTML markup safe string implementation for Python") (synopsis "XML/HTML/XHTML markup safe string implementation for Python")
(description (description
"Markupsafe provides an XML/HTML/XHTML markup safe string implementation "Markupsafe provides an XML/HTML/XHTML markup safe string implementation