gnu: python-bleach: Update to 5.0.0.

* gnu/packages/python-xyz.scm (python-bleach): Update to 5.0.0.
[propagated-inputs]: Remove python-packaging and python-six.  Add
python-tinycss2.
This commit is contained in:
Maxim Cournoyer 2022-04-13 11:33:51 -04:00
parent 4bc0d5300b
commit 10d69f20be
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -13441,23 +13441,21 @@ (define-public python-nb-clean
(define-public python-bleach
(package
(name "python-bleach")
(version "4.1.0")
(version "5.0.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "bleach" version))
(sha256
(base32 "1nkibazmw1ry4cfxs9qrkkidxdf2z1hh1b20xq1ahqdsgsrxh009"))))
(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")))))))
(propagated-inputs
(list python-packaging python-six python-webencodings))
(native-inputs
(list python-pytest))
(propagated-inputs (list python-tinycss2 python-webencodings))
(native-inputs (list python-pytest))
(home-page "https://github.com/mozilla/bleach")
(synopsis "Whitelist-based HTML-sanitizing tool")
(description "Bleach is an easy whitelist-based HTML-sanitizing tool.")