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