blob: daa89025c4960501642efce206f51ecc5c747831 (
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: python3-setuptools
5
6 name=python3-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/python3 setup.py build
15
16 /usr/bin/python3 setup.py install \
17 --prefix=/usr --root=$PKG --optimize=1
18 }
|