gnu: python-bleach: Update to 5.0.1.

* gnu/packages/python-xyz.scm (python-bleach): Update to 5.0.1.
[build-system]: Use pyproject-build-system.
[arguments]: Remove custom 'check phase.
This commit is contained in:
Ricardo Wurmus 2023-05-08 14:31:09 +02:00
parent e118b92cfe
commit 030a90bf9c
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -14276,19 +14276,14 @@ (define-public python-nb-clean
(define-public python-bleach
(package
(name "python-bleach")
(version "5.0.0")
(version "5.0.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "bleach" version))
(sha256
(base32 "0rc5avysbsl3w3i2qvb6522263zhwlvf50w0ifs8776w9c2wrmn6"))))
(build-system python-build-system)
(arguments
'(#:phases (modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests? (invoke "pytest" "-vv")))))))
(base32 "0p089853pkwzf1j2zjlmw67pwbkk0whpzfx9dbrd56zb8xf2a0qd"))))
(build-system pyproject-build-system)
(propagated-inputs (list python-tinycss2 python-webencodings))
(native-inputs (list python-pytest))
(home-page "https://github.com/mozilla/bleach")