# -*- 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

name                py-glymur
version             0.14.8
revision            0

license             MIT
maintainers         {mps @Schamschula} openmaintainer
description         glymur contains a Python interface to the OpenJPEG library which \
                    allows one to read and write JPEG 2000 files.
long_description    {*}${description}
homepage            https://github.com/quintusdias/glymur

checksums           rmd160  c93d7eb87ba67048491570e968d75da717dae21d \
                    sha256  29ec048e319e8aadede1e30aa9c26dd5dda48769a26a48848fa844bb0b670d42 \
                    size    4581847

python.versions     311 312 313 314

if {${name} ne ${subport}} {
    depends_build-append \
                    port:py${python.version}-setuptools_scm

    depends_lib-append  \
                    port:py${python.version}-lxml \
                    port:py${python.version}-numpy \
                    port:py${python.version}-Pillow
}
