#Packager: Dimitris Tzemos <dijemos~at~gmail~dot~com>

pkgname=python-lxml		
pkgver=4.5.2
pkgrel=1dj
source=(https://pypi.io/packages/source/l/lxml/lxml-${pkgver}.tar.gz)
sourcetemplate=http://people.salixos.org/laprjns/$pkgname/$pkgver/
docs=("authors" "install" "readme" "copying")
url=https://pypi.python.org

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"python-lxml (Python bindings for libxml2 and libxslt)"
"xml is a Pythonic binding for the libxml2 and libxslt libraries. It is"
"unique in that it combines the speed and feature completeness of these"
"libraries with the simplicity of a native Python API,"
"mostly compatible but superior to the well-known ElementTree API."
)

build() {
	cd $startdir/src/lxml-$pkgver
	# Setting LC_CTYPE to workaround encoding issue
	export LC_CTYPE=en_US.UTF-8
	python3 setup.py install --prefix=/usr --root=$startdir/pkg
	python setup.py install --prefix=/usr --root=$startdir/pkg
}
