# -*- 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.4.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  230dc01b8614e8d26170a4a8257adc873a40d079 \
                    sha256  8ad1ac035a82fc729a4f5bb70ec7501322bd458af4888ed8c225b99a30c428f9 \
                    size    573151
python.versions     310 311 312 313

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
}
