[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/08: gnu: Add python-bleach.
From: |
Ricardo Wurmus |
Subject: |
08/08: gnu: Add python-bleach. |
Date: |
Fri, 4 Nov 2016 10:34:13 +0000 (UTC) |
rekado pushed a commit to branch master
in repository guix.
commit 55436048d8aea6eb287c90ca4879304b5998724f
Author: Ricardo Wurmus <address@hidden>
Date: Tue Nov 1 13:20:38 2016 +0100
gnu: Add python-bleach.
* gnu/packages/python.scm (python-bleach, python2-bleach): New
variables.
---
gnu/packages/python.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 28b38cf..8987450 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -6693,6 +6693,32 @@ Jupyter Notebook format and Python APIs for working with
notebooks.")
(define-public python2-nbformat
(package-with-python2 python-nbformat))
+(define-public python-bleach
+ (package
+ (name "python-bleach")
+ (version "1.4.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "bleach" version))
+ (sha256
+ (base32
+ "0jvg3jxrvnx7xmm9gj262v60ib452xlnwlb0navyp7jsvcd0d4qj"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ `(("python-html5lib" ,python-html5lib-0.9)
+ ("python-setuptools" ,python-setuptools)
+ ("python-six" ,python-six)))
+ (native-inputs
+ `(("python-nose" ,python-nose)))
+ (home-page "http://github.com/jsocol/bleach")
+ (synopsis "Whitelist-based HTML-sanitizing tool")
+ (description "Bleach is an easy whitelist-based HTML-sanitizing tool.")
+ (license license:asl2.0)))
+
+(define-public python2-bleach
+ (package-with-python2 python-bleach))
+
(define-public python-chardet
(package
(name "python-chardet")
- branch master updated (6e1d7aa -> 5543604), Ricardo Wurmus, 2016/11/04
- 01/08: gnu: python-traitlets: Update to 4.2.0., Ricardo Wurmus, 2016/11/04
- 06/08: gnu: Add python-html5lib-0.9., Ricardo Wurmus, 2016/11/04
- 02/08: gnu: Add python-jupyter-core., Ricardo Wurmus, 2016/11/04
- 08/08: gnu: Add python-bleach.,
Ricardo Wurmus <=
- 05/08: gnu: Add python-testpath., Ricardo Wurmus, 2016/11/04
- 04/08: gnu: Add python-ipykernel., Ricardo Wurmus, 2016/11/04
- 03/08: gnu: Add python-jupyter-client., Ricardo Wurmus, 2016/11/04
- 07/08: gnu: Add python-nbformat., Ricardo Wurmus, 2016/11/04