void-packages/srcpkgs/python3-lxml/template

28 lines
869 B
Bash

# Template file for 'python3-lxml'
pkgname=python3-lxml
version=4.9.3
revision=3
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="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause, custom:ElementTree"
homepage="https://lxml.de/"
changelog="https://raw.githubusercontent.com/lxml/lxml/master/CHANGES.txt"
distfiles="https://github.com/lxml/lxml/archive/lxml-${version}.tar.gz"
checksum=42b9ab83cb8739d817c7fff41c20f31aa61625bb6f6ab333873a5f3406b139ac
do_check() {
make test3
}
post_install() {
vlicense LICENSES.txt
vlicense doc/licenses/BSD.txt
vlicense doc/licenses/elementtree.txt
}