# Contributor: Francesco Colista # Contributor: Jakub Jirutka # Maintainer: Francesco Colista pkgname=py3-lxml _pkgname=lxml pkgver=4.4.2 pkgrel=0 pkgdesc="Python3 LXML Library" url="https://lxml.de/" arch="all" license="BSD-3-Clause AND ZPL-2.0 AND ElementTree" makedepends="python3-dev libxml2-dev libxslt-dev py3-setuptools" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir/$_pkgname-$pkgver" replaces="py-lxml" # Backwards compatibility provides="py-lxml=$pkgver-r$pkgrel" # Backwards compatibility build() { cd "$builddir" python3 setup.py build } check() { cd "$builddir" python3 setup.py check } package() { cd "$builddir" python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="7a3dcbdb6de703ff939cd7e75c4c73f71b3c8b212796303c1a1ab74dc06153968661d69ab379a2c4b8b75e7643a53e09473988e21758643e9ee52819cd1042aa lxml-4.4.2.tar.gz"