# -*- 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.6.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, 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  fba9d7f2e74040e2160904fd7dbba415aa9eee26 \
                    sha256  f28c83044208470745ef31d21a136584b17c574923bcddd560ccb4c43b964724 \
                    size    575557
python.versions     311 312 313 314 315

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
}
