blob: 5c1cc0f56e0a39136d69a11ffef18d039636afc9 (
plain)
1 # Description: A Python HTML parser/tokenizer based on the WHATWG HTML5 spec.
2 # URL: https://github.com/html5lib/html5lib-python
3 # Maintainer: Danny Rawlins, crux at romster dot me
4 # Depends on: python-setuptools
5
6 name=python-html5lib
7 version=1.1
8 release=1
9 source=(https://github.com/html5lib/html5lib-python/archive/$version/html5lib-python-$version.tar.gz)
10
11 build() {
12 cd html5lib-python-$version
13
14 /usr/bin/python setup.py build
15
16 /usr/bin/python setup.py install \
17 --prefix=/usr --root=$PKG --optimize=1
18 }
|