# -*- 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.2
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  e37943be662b8e758c740456927f81b86707d44c \
                    sha256  09451abe8781336fd6842207cd95ce5e8609d99f13bcde898412538125c35088 \
                    size    2522193

python.versions     310 311 312 313 314

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
}
