27 lines
784 B
Bash
27 lines
784 B
Bash
# Template file for 'python3-html5lib'
|
|
pkgname=python3-html5lib
|
|
version=1.0.1
|
|
revision=5
|
|
wrksrc="html5lib-${version}"
|
|
build_style=python3-module
|
|
hostmakedepends="python3-setuptools"
|
|
depends="python3-six python3-webencodings"
|
|
checkdepends="$depends python3-pytest python3-mock python3-lxml"
|
|
short_desc="Python3 HTML parser based on the WHATWG HTML5 specification"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="MIT"
|
|
homepage="https://github.com/html5lib/html5lib-python"
|
|
distfiles="${PYPI_SITE}/h/html5lib/html5lib-${version}.tar.gz"
|
|
checksum=66cb0dcfdbbc4f9c3ba1a63fdb511ffdbd4f513b2b6d81b80cd26ce6b3fb3736
|
|
|
|
pre_build() {
|
|
sed -i '/setuptools>=/d' setup.py
|
|
}
|
|
do_check() {
|
|
export PYTHONPATH=$PWD/build/lib
|
|
: requires more Python modules
|
|
}
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|