# -*- 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 PortSystem 1.0 PortGroup python 1.0 PortGroup select 1.0 PortGroup github 1.0 github.setup Kozea CairoSVG 2.7.1 name py-cairosvg revision 0 categories-append graphics platforms {darwin any} supported_archs noarch license LGPL-3+ maintainers {reneeotten @reneeotten} openmaintainer description A Simple 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. homepage https://cairosvg.org checksums rmd160 f965dbba4307492104ffba0716ad4c550d055d59 \ sha256 7f7c4cf6c313e35f0e3856a4a5960a025eb7657da0e00dc832b590d09c59c108 \ size 8340473 python.versions 39 310 311 312 if {${name} ne ${subport}} { depends_build-append \ port:py${python.version}-pytest-runner depends_lib-append \ port:py${python.version}-cairocffi \ port:py${python.version}-cssselect2 \ port:py${python.version}-defusedxml \ port:py${python.version}-Pillow \ port:py${python.version}-tinycss2 depends_run-append \ port:py-cairosvg_select select.group py-cairosvg select.file ${filespath}/py${python.version}-cairosvg notes " 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]+)}