contrib/html5lib-python/Pkgfile

16 lines
474 B
Plaintext
Raw Normal View History

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
name=html5lib-python
2017-11-12 05:17:08 +01:00
version=1.0b10
2015-06-04 13:57:39 +02:00
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
}