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