python-html5lib: new package

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Yegor Yefremov 2016-01-13 16:18:10 +01:00 committed by Peter Korsgaard
parent 8d49d853f5
commit 82f3124522
4 changed files with 24 additions and 0 deletions

View File

@ -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"

View File

@ -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

View File

@ -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

View File

@ -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))