contrib/python-html5lib/Pkgfile

19 lines
514 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=python-html5lib
version=1.0.1
2015-06-04 13:57:39 +02:00
release=1
source=(https://github.com/html5lib/html5lib-python/archive/$version/html5lib-python-$version.tar.gz)
2015-06-04 13:57:39 +02:00
build() {
cd html5lib-python-$version
2015-06-04 13:57:39 +02:00
/usr/bin/python setup.py build
/usr/bin/python setup.py install \
--prefix=/usr --root=$PKG --optimize=1
2015-06-04 13:57:39 +02:00
}