# Template file for 'python3-WeasyPrint'
pkgname=python3-WeasyPrint
version=68.1
revision=1
build_style=python3-pep517
_runtime_deps="fonttools python3-Pillow python3-cssselect2 python3-html5lib
 python3-cffi python3-Pyphen python3-pydyf python3-tinyhtml5 python3-tinycss2
 glib pango"
hostmakedepends="python3-poetry-core python3-flit_core ${_runtime_deps}"
depends="${_runtime_deps}"
checkdepends="python3-pytest-flake8 python3-pytest-xdist python3-pytest-isort
 $depends"
short_desc="Awesome document factory"
maintainer="Andrew Benson <abenson+void@gmail.com>"
license="GPL-3.0-or-later"
homepage="https://weasyprint.org"
distfiles="https://github.com/Kozea/WeasyPrint/archive/refs/tags/v${version}.tar.gz"
checksum=7195c741867a26f16db93bf3d5e275c3460781725bbaf202762535bcd8399444
make_check=no # Tests are broken on flake8 >= v5.x
