blob: 023fe3b8c46e854b0d5d29e2b84a6af3babff408 (
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.0.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 }
|