2019-08-08 23:40:01 +10:00
|
|
|
# Description: A Python HTML parser/tokenizer based on the WHATWG HTML5 spec.
|
|
|
|
# URL: https://github.com/html5lib/html5lib-python
|
|
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
|
|
|
# Depends on: python3-setuptools
|
|
|
|
|
|
|
|
name=python3-html5lib
|
2020-07-08 21:01:12 +10:00
|
|
|
version=1.1
|
2019-08-08 23:40:01 +10:00
|
|
|
release=1
|
|
|
|
source=(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
|
|
|
|
}
|