# -*- 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           github 1.0
PortGroup           python 1.0

github.setup        vispy vispy 0.15.2 v
revision            1
github.tarball_from archive
name                py-vispy
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

python.versions     39 310 311 312 313

checksums           rmd160  1859b9f45a94a068205179e4f66d09f9d9caf960 \
                    sha256  a288afadb9b125e2fee16ae798c1938051c447a7ba179e946365dbf934d69243 \
                    size    2543942

if {${name} ne ${subport}} {
    depends_build-append \
                    port:py${python.version}-cython \
                    port:py${python.version}-oldest-supported-numpy \
                    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}-pyqt5
}
