# -*- 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.8.3 release-
name                py-qimage2ndarray
revision            0
categories-append   devel
platforms           darwin
license             BSD
supported_archs     noarch

python.versions     27 36 37 38

maintainers         {eborisch @eborisch} openmaintainer

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

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

distname            ${python.rootname}-${version}

checksums \
    rmd160  3a9b596dbcd44cd2dacc019ed6ca3b92b3409271 \
    sha256  3974ce2a32886654a205e3dd3dbd272140b993af327f72b46a16fce4ead14f6e \
    size    24306

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

    livecheck.type      none
}
