summaryrefslogtreecommitdiffstats
path: root/package/python-html5lib
diff options
context:
space:
mode:
authorYegor Yefremov <yegorslists@googlemail.com>2016-01-13 16:18:10 +0100
committerPeter Korsgaard <peter@korsgaard.com>2016-01-13 21:35:08 +0100
commit82f3124522a579d2fa75f9021a16f8494fc7bf25 (patch)
tree546f2d0f14afdff24c44c49aa268eba9ee694f7f /package/python-html5lib
parent8d49d853f5c882c7d9c3c30e61c82265ee26e9e1 (diff)
downloadbuildroot-82f3124522a579d2fa75f9021a16f8494fc7bf25.tar.gz
buildroot-82f3124522a579d2fa75f9021a16f8494fc7bf25.zip
python-html5lib: new package
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/python-html5lib')
-rw-r--r--package/python-html5lib/Config.in6
-rw-r--r--package/python-html5lib/python-html5lib.hash3
-rw-r--r--package/python-html5lib/python-html5lib.mk14
3 files changed, 23 insertions, 0 deletions
diff --git a/package/python-html5lib/Config.in b/package/python-html5lib/Config.in
new file mode 100644
index 0000000000..c3e9f2a859
--- /dev/null
+++ b/package/python-html5lib/Config.in
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PYTHON_HTML5LIB
+ bool "python-html5lib"
+ help
+ HTML parser based on the WHATWG HTML specification.
+
+ https://github.com/html5lib/html5lib-python
diff --git a/package/python-html5lib/python-html5lib.hash b/package/python-html5lib/python-html5lib.hash
new file mode 100644
index 0000000000..0ec712a1e5
--- /dev/null
+++ b/package/python-html5lib/python-html5lib.hash
@@ -0,0 +1,3 @@
+# md5 from https://pypi.python.org/pypi?:action=show_md5&digest=ef43cb05e9e799f25d65d1135838a96f, sha256 locally computed
+md5 ef43cb05e9e799f25d65d1135838a96f html5lib-0.9999999.tar.gz
+sha256 2612a191a8d5842bfa057e41ba50bbb9dcb722419d2408c78cff4758d0754868 html5lib-0.9999999.tar.gz
diff --git a/package/python-html5lib/python-html5lib.mk b/package/python-html5lib/python-html5lib.mk
new file mode 100644
index 0000000000..93eef9a617
--- /dev/null
+++ b/package/python-html5lib/python-html5lib.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-html5lib
+#
+################################################################################
+
+PYTHON_HTML5LIB_VERSION = 0.9999999
+PYTHON_HTML5LIB_SOURCE = html5lib-$(PYTHON_HTML5LIB_VERSION).tar.gz
+PYTHON_HTML5LIB_SITE = https://pypi.python.org/packages/source/h/html5lib
+PYTHON_HTML5LIB_LICENSE = MIT
+PYTHON_HTML5LIB_LICENSE_FILES = LICENSE
+PYTHON_HTML5LIB_SETUP_TYPE = distutils
+
+$(eval $(python-package))
OpenPOWER on IntegriCloud