# description : A Python HTML parser/tokenizer based on the WHATWG HTML5 spec. # homepage : https://github.com/html5lib/html5lib-python # depends : python3-setuptools python3-webencodings name=python3-html5lib version=1.1 release=2 source="$name-$version.tar.gz::https://github.com/html5lib/html5lib-python/archive/$version/html5lib-python-$version.tar.gz" build() { cd html5lib-python-$version /usr/bin/python3 setup.py build /usr/bin/python3 setup.py install \ --prefix=/usr --root=$PKG --optimize=1 }