# -*- 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

name                py-luma.emulator

github.setup        rm-hull luma.emulator 1.7.0
github.tarball_from archive

revision            0
maintainers         nomaintainer
platforms           {darwin any}
supported_archs     noarch
license             MIT

description         Drawing and text rendering for small displays, emulator \
                    module
long_description    luma.emulator provides a series of pseudo-display devices \
                    which allow the luma.core components to be used without \
                    running a physical device.

checksums           rmd160  65ee4a59c96833bcdc0871e8411569c08366603c \
                    sha256  05cfbac70421d1147f161fc7af6506f360ac3ddd2da36738f9af010b9f32a496 \
                    size    908424
python.versions     311 312 313 314 315

if {${name} ne ${subport}} {
    depends_run-append \
                    port:py${python.version}-luma.core \
                    port:py${python.version}-game
    depends_test-append \
                    port:py${python.version}-pytest-timeout
    test.run        yes
    test.env-append PYTHONPATH=${worksrcpath}/build/lib:${worksrcpath}
    test.args
}
