me
/
guix
Archived
1
0
Fork 0

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.
master
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
1 changed files with 4 additions and 6 deletions

View File

@ -13441,23 +13441,21 @@ systems, as a command line tool, and as a Python library.")
(define-public python-bleach (define-public python-bleach
(package (package
(name "python-bleach") (name "python-bleach")
(version "4.1.0") (version "5.0.0")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "bleach" version)) (uri (pypi-uri "bleach" version))
(sha256 (sha256
(base32 "1nkibazmw1ry4cfxs9qrkkidxdf2z1hh1b20xq1ahqdsgsrxh009")))) (base32 "0rc5avysbsl3w3i2qvb6522263zhwlvf50w0ifs8776w9c2wrmn6"))))
(build-system python-build-system) (build-system python-build-system)
(arguments (arguments
'(#:phases (modify-phases %standard-phases '(#:phases (modify-phases %standard-phases
(replace 'check (replace 'check
(lambda* (#:key tests? #:allow-other-keys) (lambda* (#:key tests? #:allow-other-keys)
(when tests? (invoke "pytest" "-vv"))))))) (when tests? (invoke "pytest" "-vv")))))))
(propagated-inputs (propagated-inputs (list python-tinycss2 python-webencodings))
(list python-packaging python-six python-webencodings)) (native-inputs (list python-pytest))
(native-inputs
(list python-pytest))
(home-page "https://github.com/mozilla/bleach") (home-page "https://github.com/mozilla/bleach")
(synopsis "Whitelist-based HTML-sanitizing tool") (synopsis "Whitelist-based HTML-sanitizing tool")
(description "Bleach is an easy whitelist-based HTML-sanitizing tool.") (description "Bleach is an easy whitelist-based HTML-sanitizing tool.")