# -*- 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 # $Id: Portfile 149512 2016-06-23 22:52:31Z sean@macports.org $ PortSystem 1.0 PortGroup python 1.0 PortGroup select 1.0 PortGroup github 1.0 github.setup Kozea CairoSVG 1.0.22 name py-cairosvg categories-append graphics license LGPL-3+ platforms darwin supported_archs noarch maintainers sean openmaintainer 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 ecb9369f5af58049d9337036be75b255a4ab07ad \ sha256 344219232f68a328bdded4ee78f0d749bc466d509b4db6367c044b847e9476cc python.versions 26 27 33 34 if {${name} ne ${subport}} { depends_lib-append port:py${python.version}-cairo depends_run port:py-cairosvg_select select.group py-cairosvg select.file ${filespath}/py${python.version}-cairosvg livecheck.type none 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}] " } livecheck.regex archive/[join ${github.tag_prefix} ""](\[^"rba\]+)${extract.suffix}