python3-html5lib: update to 1.1

This commit is contained in:
Paper 2021-03-05 12:01:16 +01:00 committed by Érico Nogueira Rolim
parent 4fcf5a4d45
commit 184b314bb9

View file

@ -1,26 +1,19 @@
# Template file for 'python3-html5lib' # Template file for 'python3-html5lib'
pkgname=python3-html5lib pkgname=python3-html5lib
version=1.0.1 version=1.1
revision=5 revision=1
wrksrc="html5lib-${version}" wrksrc="html5lib-${version}"
build_style=python3-module build_style=python3-module
hostmakedepends="python3-setuptools" hostmakedepends="python3-setuptools"
depends="python3-six python3-webencodings" depends="python3-six python3-webencodings"
checkdepends="$depends python3-pytest python3-mock python3-lxml"
short_desc="Python3 HTML parser based on the WHATWG HTML5 specification" short_desc="Python3 HTML parser based on the WHATWG HTML5 specification"
maintainer="Orphaned <orphan@voidlinux.org>" maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT" license="MIT"
homepage="https://github.com/html5lib/html5lib-python" homepage="https://github.com/html5lib/html5lib-python"
distfiles="${PYPI_SITE}/h/html5lib/html5lib-${version}.tar.gz" distfiles="${PYPI_SITE}/h/html5lib/html5lib-${version}.tar.gz"
checksum=66cb0dcfdbbc4f9c3ba1a63fdb511ffdbd4f513b2b6d81b80cd26ce6b3fb3736 checksum=b2e5b40261e20f354d198eae92afc10d750afb487ed5e50f9c4eaf07c184146f
make_check=no # tests fail, should be fixed upstream in a new release
pre_build() {
sed -i '/setuptools>=/d' setup.py
}
do_check() {
export PYTHONPATH=$PWD/build/lib
: requires more Python modules
}
post_install() { post_install() {
vlicense LICENSE vlicense LICENSE
} }