void-packages/srcpkgs/python3-WeasyPrint/template

20 lines
866 B
Bash

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