void-packages/srcpkgs/python3-WeasyPrint/template

20 lines
866 B
Bash

# Template file for 'python3-WeasyPrint'
pkgname=python3-WeasyPrint
version=57.2
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=99ab7ed6224e5a3513ccefbdb33984e9d119b405d2d0a6c7c1e0c639529755b3
make_check=no # Tests are broken on flake8 >= v5.x