# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
github.setup Kozea CairoSVG 2.0.1
categories-append graphics
homepage http://cairosvg.org
description SVG converter based on Cairo
long_description CairoSVG is a SVG converter based on Cairo. It can export SVG \
files to PDF, PostScript and PNG files.
checksums rmd160 9a79721e8504236fc8514ed06b005f5212071570 \
sha256 8288ea5a1cdacd2ce3b79c7a17d39851bd7f34e756185d384f8fe981329f1a02
if {${name} ne ${subport}} {
depends_lib-append port:py${python.version}-cssselect \
port:py${python.version}-lxml \
port:py${python.version}-Pillow \
port:py${python.version}-tinycss
depends_run-append port:py-cairosvg_select
select.file ${filespath}/py${python.version}-cairosvg
To make the Python ${python.branch} version of py-cairosvg the one that is run\
when you execute the commands without a version suffix, e.g. 'cairosvg', run:
port select --set ${select.group} [file tail ${select.file}]
github.livecheck.regex {([^"rba]+)}