forked from ports/contrib
16 lines
474 B
Plaintext
16 lines
474 B
Plaintext
# 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: python-setuptools
|
|
|
|
name=html5lib-python
|
|
version=1.0b10
|
|
release=1
|
|
source=(https://github.com/html5lib/html5lib-python/archive/$version.tar.gz)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
/usr/bin/python setup.py build
|
|
/usr/bin/python setup.py install --prefix=/usr --root=$PKG --optimize=1
|
|
}
|