27 lines
795 B
Bash
27 lines
795 B
Bash
# Template file for 'python3-lxml'
|
|
pkgname=python3-lxml
|
|
version=4.9.0
|
|
revision=1
|
|
build_style=python3-module
|
|
make_build_args="--with-cython"
|
|
hostmakedepends="python3-Cython python3-setuptools"
|
|
makedepends="libxslt-devel python3-devel"
|
|
depends="python3"
|
|
checkdepends="python3-cssselect python3-BeautifulSoup4 python3-html5lib"
|
|
short_desc="Python binding for the libxml2 and libxslt libraries"
|
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
|
license="BSD-3-Clause, custom:ElementTree"
|
|
homepage="https://lxml.de/"
|
|
distfiles="https://github.com/lxml/lxml/archive/lxml-${version}.tar.gz"
|
|
checksum=9c7159b061c93e8658b4c4d9c4916ae493e771365512281c0e45ea4651262c7d
|
|
|
|
do_check() {
|
|
make test3
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSES.txt
|
|
vlicense doc/licenses/BSD.txt
|
|
vlicense doc/licenses/elementtree.txt
|
|
}
|