19 lines
512 B
Plaintext
Raw Normal View History

2015-06-04 21:57:39 +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
2017-11-12 15:17:08 +11:00
# Depends on: python-setuptools
2015-06-04 21:57:39 +10:00
name=python-html5lib
2020-08-16 16:48:18 +10:00
version=1.1
2015-06-04 21:57:39 +10:00
release=1
source=(https://github.com/html5lib/html5lib-python/archive/$version/html5lib-python-$version.tar.gz)
2015-06-04 21:57:39 +10:00
build() {
cd html5lib-python-$version
2015-06-04 21:57:39 +10:00
/usr/bin/python setup.py build
/usr/bin/python setup.py install \
--prefix=/usr --root=$PKG --optimize=1
2015-06-04 21:57:39 +10:00
}