# -*- 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
PortGroup           github 1.0

github.setup        hmeine qimage2ndarray 1.10.0 release-
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
name                py-qimage2ndarray
revision            0
categories-append   devel
license             BSD
supported_archs     noarch
platforms           {darwin any}

python.versions     39 310 311 312 313

maintainers         {eborisch @eborisch} openmaintainer

description         Converts between QImages and numpy.ndarrays
long_description    {*}${description}

homepage            https://github.com/hmeine/qimage2ndarray

checksums \
    rmd160  5526342b74bda9dab4eb0058ee135f07511f9e72 \
    sha256  061b022d890dc687d72a49ac428154fe059a02a7de118dec0b601ceea54cd16d \
    size    26046

if {${name} ne ${subport}} {
    depends_run-append  port:py${python.version}-numpy \
                        port:py${python.version}-pyqt5
}
