Files
2021-03-13 17:45:14 -05:00

59 lines
1.9 KiB
Tcl

# -*- 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.5.2
name py-cairosvg
revision 0
categories-append graphics
platforms darwin
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 b940e3ff1dfd520eea6aa364072c0a9e010cfbcc \
sha256 abc1140bea896c25e9c37d8dc2911b5ab86a2b97b57e80752b2c3044dbe563de \
size 8339813
python.versions 37 38 39
if {${name} ne ${subport}} {
depends_build-append \
port:py${python.version}-setuptools \
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
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}]
"
}
github.livecheck.regex {([^"rba]+)}