#Packager: Richard Lapointe #Modified for Slint by Didier Spaier pkgname=python-lxml pkgver=4.6.3 pkgrel=3slint #arch=noarch source=(https://github.com/lxml/lxml/archive/refs/tags/lxml-4.6.3.tar.gz) sourcetemplate=http://people.salixos.org/laprjns/$pkgname/$pkgver/ docs=("CREDITS.txt" "LICENSE.txt" "LICENSES.txt" "README.rst TOTO.txt" "BSD.txt" "GPL.txt" "ZopePublicLicense.txt" "elementtree.txt") #dotnew=() #CFLAGS= #CXXFLAGS= options=('nosrcpack') #doinst() { # #} 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-lxml-$pkgver python2 setup.py build --with-unicode-strings python3 setup.py build --with-unicode-strings make html python2 setup.py install --prefix=/usr --root=$PKG --skip-build --optimize=1 python3 setup.py install --prefix=/usr --root=$PKG --skip-build --optimize=1 }