# -*- 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-vispy
version             0.16.0
revision            0

license             BSD
maintainers         {mps @Schamschula} openmaintainer
description         VisPy is a high-performance interactive 2D/3D data visualization \
                    library.
long_description    {*}${description} VisPy leverages the computational power of modern \
                    Graphics Processing Units (GPUs) through the OpenGL library to \
                    display very large datasets.
homepage            https://vispy.org/index.html

checksums           rmd160  1b33a28d09ad79839a9784e1f22a49da05152a42 \
                    sha256  09e17744a9a7ec20233ed00ff21eb3f187a47720c4775c9b2fd5598ce6d1b5a9 \
                    size    2519071

python.versions     310 311 312 313

if {${name} ne ${subport}} {
    depends_build-append \
                    port:py${python.version}-cython \
                    port:py${python.version}-pythran \
                    port:py${python.version}-setuptools_scm \
                    port:py${python.version}-setuptools_scm_git_archive

    depends_lib-append  \
                    port:py${python.version}-freetype \
                    port:py${python.version}-hsluv \
                    port:py${python.version}-kiwisolver \
                    port:py${python.version}-meshio \
                    port:py${python.version}-numpy \
                    port:py${python.version}-pillow \
                    port:py${python.version}-pyqt5
}
