mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-15 11:25:22 -05:00
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:
parent
4bc0d5300b
commit
10d69f20be
1 changed files with 4 additions and 6 deletions
|
@ -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.")
|
||||
|
|
Loading…
Reference in a new issue