Skip to contentSkip to conversation

python-html5lib: new package

Buildroot Peter Korsgaard 1 participant 1 message Jan 13, 2016

lore
Share & tools
lore
#0 lore raw

commit: http://git.buildroot.net/buildroot/commit/?id=82f3124522a579d2fa75f9021a16f8494fc7bf25
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

---
 package/Config.in                            |  1 +
 package/python-html5lib/Config.in            |  6 ++++++
 package/python-html5lib/python-html5lib.hash |  3 +++
 package/python-html5lib/python-html5lib.mk   | 14 ++++++++++++++
 4 files changed, 24 insertions(+)
package/Config.in +1 -0
index 06ed4a8..89b23db 100644
@@ -638,6 +638,7 @@ menu "External python modules"
 	source "package/python-flask/Config.in"
 	source "package/python-flup/Config.in"
 	source "package/python-gobject/Config.in"
+	source "package/python-html5lib/Config.in"
 	source "package/python-httplib2/Config.in"
 	source "package/python-id3/Config.in"
 	source "package/python-idna/Config.in"
package/python-html5lib/Config.in new file +6 -0
new file mode 100644
index 0000000..c3e9f2a
@@ -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
package/python-html5lib/python-html5lib.hash new file +3 -0
new file mode 100644
index 0000000..0ec712a
@@ -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
package/python-html5lib/python-html5lib.mk new file +14 -0
new file mode 100644
index 0000000..93eef9a
@@ -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))