28 lines
825 B
Bash
28 lines
825 B
Bash
# Template file for 'python3-lxml'
|
|
pkgname=python3-lxml
|
|
version=4.8.0
|
|
revision=1
|
|
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"
|
|
checksum=8d2b999f5c8a8a70a28a3875e5d1bf27c0555c922bfa0af34dc46e07913f2a47
|
|
|
|
do_check() {
|
|
make test3
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSES.txt
|
|
vlicense doc/licenses/BSD.txt
|
|
vlicense doc/licenses/elementtree.txt
|
|
}
|