void-packages/srcpkgs/python3-WeasyPrint/template

20 lines
867 B
Bash

# Template file for 'python3-WeasyPrint'
pkgname=python3-WeasyPrint
version=56.1
revision=1
build_style=python3-pep517
make_install_target="dist/weasyprint-${version}-py3-none-any.whl"
_runtime_deps="fonttools python3-Pillow python3-cssselect2 python3-html5lib python3-cffi
python3-Pyphen python3-pydyf 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=9abe105b149f52dc8569b0a409ced64cfb01aece1461ce13cfcf9c347834b7bc
make_check=no # Tests are broken on flake8 >= v5.x