void-packages/srcpkgs/python3-lxml/template

28 lines
825 B
Bash
Raw Normal View History

2022-02-24 15:23:49 +00:00
# Template file for 'python3-lxml'
pkgname=python3-lxml
2022-02-28 21:19:02 +00:00
version=4.8.0
revision=1
2022-02-24 15:23:49 +00:00
wrksrc="lxml-lxml-${version}"
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"
2022-02-28 21:19:02 +00:00
checksum=8d2b999f5c8a8a70a28a3875e5d1bf27c0555c922bfa0af34dc46e07913f2a47
2022-02-24 15:23:49 +00:00
do_check() {
make test3
}
post_install() {
vlicense LICENSES.txt
vlicense doc/licenses/BSD.txt
vlicense doc/licenses/elementtree.txt
}