# -*- 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                xyzrender
version             0.3.0
revision            0

categories-prepend  science
platforms           {darwin any}
supported_archs     noarch
license             MIT
maintainers         {reneeotten @reneeotten} openmaintainer

description         Publication-quality molecular graphics from the command line
long_description    {*}${description}

homepage            https://github.com/aligfellow/xyzrender

checksums           rmd160  748b7f8076d2bee27588c93fe2c124cf45c340ab \
                    sha256  c0b95d5d1f87f3e9f907ff02f83b2358d89f207369e72c9040692c1a707b72e9 \
                    size    301820

python.versions     314

depends_lib-append  port:py${python.version}-ase \
                    port:py${python.version}-cairosvg \
                    port:py${python.version}-cclib \
                    port:py${python.version}-graphrc \
                    port:py${python.version}-ipykernel \
                    port:py${python.version}-numpy \
                    port:py${python.version}-Pillow \
                    port:py${python.version}-resvg_py \
                    port:py${python.version}-xyzgraph

pre-test {
    # requires the "examples" directory which is not part of the PyPI source
    file delete ${worksrcpath}/tests/test_render.py
}

test.run            yes
