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

python.versions     27 35 36
python.default_version  27

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  a19a4c83527f5ca610d603bf1a72f5545963e436 \
    sha256  ffe75870473b4f8f2198f937f95ade52ac3fc72797f90a881488047062ecd2f3 \
    size    23256

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

    livecheck.type      none
}