void-packages/srcpkgs/python3-cairosvg/template

21 lines
774 B
Bash

# Template file for 'python3-cairosvg'
pkgname=python3-cairosvg
version=2.7.1
revision=1
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-cairocffi python3-cssselect2 python3-defusedxml python3-Pillow
python3-tinycss2"
checkdepends="python3-pytest $depends"
short_desc="Simple SVG converter based on Cairo"
maintainer="classabbyamp <void@placeviolette.net>"
license="LGPL-3.0-or-later"
homepage="https://www.courtbouillon.org/cairosvg/"
changelog="https://raw.githubusercontent.com/Kozea/CairoSVG/main/NEWS.rst"
distfiles="https://github.com/Kozea/CairoSVG/archive/refs/tags/${version}.tar.gz"
checksum=4f548e67c5dd313e4b8913790b445003799234c4a8e84ec2d9939e4e4308bdb8
pre_check() {
cp -r cairosvg test_non_regression/cairosvg_reference/
}