# Template file for 'python3-cairosvg'
pkgname=python3-cairosvg
version=2.9.0
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=d42ade287050d1385bdd701c011c8e9e3b0af72669362a420aaccdb06b31141d

pre_check() {
	cp -r cairosvg test_non_regression/cairosvg_reference/
}
