diff options
| author | Andreas Enge <andreas@enge.fr> | 2015-01-20 22:37:01 +0100 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2015-01-20 22:42:28 +0100 |
| commit | 673ab897a34dfa92aae21c431d8963eb2fc4f0d9 (patch) | |
| tree | bfdcf2d760ce501ca042d6530dbe9ce7c849af09 /gnu | |
| parent | 1a0965045bfa7eb277efb0cd8c3513b5c03ba810 (diff) | |
gnu: Add python-html5lib.
* gnu/packages/python.scm (python-html5lib, python2-html5lib): New variables.
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/python.scm | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index a0e682c8b6c..4b88dc7845e 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm | |||
| @@ -2840,3 +2840,34 @@ ISO 8601 dates, time and duration.") | |||
| 2840 | 2840 | ||
| 2841 | (define-public python2-isodate | 2841 | (define-public python2-isodate |
| 2842 | (package-with-python2 python-isodate)) | 2842 | (package-with-python2 python-isodate)) |
| 2843 | |||
| 2844 | (define-public python-html5lib | ||
| 2845 | (package | ||
| 2846 | (name "python-html5lib") | ||
| 2847 | (version "1.0b3") | ||
| 2848 | (source | ||
| 2849 | (origin | ||
| 2850 | (method url-fetch) | ||
| 2851 | (uri (string-append | ||
| 2852 | "https://pypi.python.org/packages/source/h/html5lib/html5lib-" | ||
| 2853 | version | ||
| 2854 | ".tar.gz")) | ||
| 2855 | (sha256 | ||
| 2856 | (base32 | ||
| 2857 | "1l5i6xzckzx4hnh9qzv9q3kyhkgjx2hsi2k9srgci3qizjmvp6ln")))) | ||
| 2858 | (build-system python-build-system) | ||
| 2859 | (inputs | ||
| 2860 | `(("python-setuptools" ,python-setuptools))) | ||
| 2861 | (arguments | ||
| 2862 | `(#:test-target "check")) | ||
| 2863 | (home-page | ||
| 2864 | "https://github.com/html5lib/html5lib-python") | ||
| 2865 | (synopsis | ||
| 2866 | "Python HTML parser based on the WHATWG HTML specifcation") | ||
| 2867 | (description | ||
| 2868 | "Html5lib is an HTML parser based on the WHATWG HTML specifcation | ||
| 2869 | and written in Python.") | ||
| 2870 | (license expat))) | ||
| 2871 | |||
| 2872 | (define-public python2-html5lib | ||
| 2873 | (package-with-python2 python-html5lib)) | ||
