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

github.setup        rm-hull luma.core 2.5.2
github.tarball_from archive

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

description         Drawing and text rendering for small displays, core module
long_description    luma.core is a component library providing a \
                    Pillow-compatible drawing canvas for Python 3, and other \
                    functionality to support drawing primitives and \
                    text-rendering capabilities for small displays.

checksums           rmd160  26c35660b00eef1d0bb1f3317cd96069aab8d603 \
                    sha256  7fb1dc8d4b94982fa214975134c7a4a4d2b437c9befcf8b61cb9c73f1c54a253 \
                    size    572874
python.versions     310 311 312 313 314

if {${name} ne ${subport}} {
    depends_run-append \
                    port:py${python.version}-Pillow \
                    port:py${python.version}-cbor2 \
                    port:py${python.version}-smbus2 \
                    port:py${python.version}-pyftdi
    depends_test-append \
                    port:py${python.version}-pytest-timeout
    test.run        yes
}
