void-packages/srcpkgs/python3-lxml/template
2025-08-01 10:55:05 -04:00

27 lines
899 B
Bash

# Template file for 'python3-lxml'
pkgname=python3-lxml
version=6.0.0
revision=1
build_style=python3-pep517
make_build_args="-C--build-option=--with-cython"
hostmakedepends="python3-Cython python3-setuptools python3-wheel"
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=5560ee7bd3bcea0e64221bbb23f4ee1d222296ef25ba217e327a5f1d963005d9
do_check() {
make test
}
post_install() {
vlicense LICENSES.txt
vlicense doc/licenses/BSD.txt
vlicense doc/licenses/elementtree.txt
}