# -*- 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-moderngl
version             5.6.4
revision            0

license             MIT
maintainers         @abey79 openmaintainer
supported_archs     arm64 x86_64

description         Modern OpenGL binding for python
long_description    ModernGL is a python wrapper over OpenGL 3.3+ core that simplifies the \
                    creation of simple graphics applications like scientific simulations, \
                    games or user interfaces. Usually, acquiring in-depth knowledge of OpenGL \
                    requires a steep learning curve. In contrast, ModernGL is easy to learn \
                    and use, moreover it is capable of rendering with high performance and \
                    quality, with less code written. The majority of the moderngl code base \
                    is also written in C++ for high performance.

homepage            https://github.com/moderngl/moderngl

checksums           rmd160  718904a7e4c8f0f1755ef8071cb917b5d0a7ca9f \
                    sha256  8c6d04559f5e3bf75a18525cd46d213c0f3a8409363718978e6de691bdb551fb \
                    size    122805

python.versions     39 310

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

    depends_lib-append \
                    port:py${python.version}-glcontext
}
