# Description: A Python HTML parser/tokenizer based on the WHATWG HTML5 spec.
# URL: https://github.com/html5lib/html5lib-python
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: python3-six python3-webencodings

name=python3-html5lib
version=1.1
release=2
source=(https://github.com/html5lib/html5lib-python/archive/$version/html5lib-python-$version.tar.gz)

build() {
  cd html5lib-python-$version

  /usr/bin/python3 setup.py build

  /usr/bin/python3 setup.py install \
    --prefix=/usr --root=$PKG --optimize=1
}
