app=python-lxml
version=4.5.1
build=1sml
homepage="https://lxml.de/"
desc="Python library for processing HTML and XML documents"
requires="python3 python-setuptools"

build() {
  mkandenterbuilddir
  rm -rf lxml-$version

  tar xf $srcdir/lxml-$version.tar.?z*
  cd lxml-$version

  python setup.py build
  python setup.py install --prefix="" --root=$pkg
  cp LICENSES.txt $pkgdocs/
  head -n 1000 CHANGES.txt > $pkgdocs/CHANGELOG

  mkfinalpkg
}

sha512sums="
dd6216c5741a48cd4113b69fe9ac3ac976eba210cc1ef65358e0f0977573e3057bb4ab9345a63edfd98fc8b1e2fc2b3a6141bafdcee66720a40c1160c837bf9c  lxml-4.5.1.tar.lz
"
