# -*- 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

name                py-resvg_py
version             0.3.3
revision            0

categories-append   graphics
license             MIT
maintainers         {reneeotten @reneeotten} openmaintainer

description         High level wrapper of resvg for Python
long_description    {*}${description}

homepage            https://resvg-py.readthedocs.io

checksums           rmd160  a70da709a7a7bb16b0961ab6bc3d00d8152254a1 \
                    sha256  7884f3e2d85e943fc9939ba6a639e373f45043ffec3b735df1fe9f02cb8eac91 \
                    size    1748355

python.versions     314
python.pep517_backend maturin

if {${name} ne ${subport}} {
    depends_test-append \
                    port:py${python.version}-pyperclip

    test.run        yes
    test.env-append PYTHONPATH=${destroot}${python.pkgd}
}
