guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/01: gnu: Add python-html5lib.


From: Andreas Enge
Subject: 01/01: gnu: Add python-html5lib.
Date: Tue, 20 Jan 2015 21:42:45 +0000

andreas pushed a commit to branch master
in repository guix.

commit 673ab897a34dfa92aae21c431d8963eb2fc4f0d9
Author: Andreas Enge <address@hidden>
Date:   Tue Jan 20 22:37:01 2015 +0100

    gnu: Add python-html5lib.
    
    * gnu/packages/python.scm (python-html5lib, python2-html5lib): New 
variables.
---
 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 a0e682c..4b88dc7 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -2840,3 +2840,34 @@ ISO 8601 dates, time and duration.")
 
 (define-public python2-isodate
   (package-with-python2 python-isodate))
+
+(define-public python-html5lib
+  (package
+    (name "python-html5lib")
+    (version "1.0b3")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (string-append
+              "https://pypi.python.org/packages/source/h/html5lib/html5lib-";
+              version
+              ".tar.gz"))
+        (sha256
+          (base32
+            "1l5i6xzckzx4hnh9qzv9q3kyhkgjx2hsi2k9srgci3qizjmvp6ln"))))
+    (build-system python-build-system)
+    (inputs
+      `(("python-setuptools" ,python-setuptools)))
+    (arguments
+     `(#:test-target "check"))
+    (home-page
+      "https://github.com/html5lib/html5lib-python";)
+    (synopsis
+      "Python HTML parser based on the WHATWG HTML specifcation")
+    (description
+      "Html5lib is an HTML parser based on the WHATWG HTML specifcation
+and written in Python.")
+    (license expat)))
+
+(define-public python2-html5lib
+  (package-with-python2 python-html5lib))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]