gnu: python-bleach: Update to 3.1.3 (fixes CVE-2020-6816).

* gnu/packages/python-xyz.scm (python-bleach): Update to 3.1.3.
[native-inputs]: Remove python-pytest-runner2. Add python-datrie,
python-genshi, python-lxml.
[home-page]: Update to new home-page.
This commit is contained in:
Efraim Flashner 2020-03-22 10:39:08 +02:00
parent 34bf3ed26b
commit e64ea84392
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -8197,22 +8197,24 @@ (define-public python2-nbformat
(define-public python-bleach
(package
(name "python-bleach")
(version "3.1.1")
(version "3.1.3")
(source
(origin
(method url-fetch)
(uri (pypi-uri "bleach" version))
(sha256
(base32
"0j4xlnw99m1xy0s7wxz9fk5f3c1n8r296fh75jn5p5j61w6qg2xa"))))
"0al437aw4p2xp83az5hhlrp913nsf0cg6kg4qj3fjhv4wakxipzq"))))
(build-system python-build-system)
(propagated-inputs
`(("python-webencodings" ,python-webencodings)
("python-six" ,python-six)))
(native-inputs
`(("python-pytest" ,python-pytest)
("python-pytest-runner" ,python-pytest-runner-2)))
(home-page "https://github.com/jsocol/bleach")
`(("python-datrie" ,python-datrie)
("python-genshi" ,python-genshi)
("python-lxml" ,python-lxml)
("python-pytest" ,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.")
(license license:asl2.0)))