# -*- 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-pyregion
version             2.3.0
revision            0

categories-append   science
license             MIT
maintainers         nomaintainer

description         pyregion is a Python module to parse ds9 region files
long_description    {*}${description}

homepage            https://github.com/astropy/pyregion

checksums           rmd160  832b745acb044f78ee4ed4b4ce00c86b7193bac5 \
                    sha256  e8498711421173239689de523bb465245f5551a18a181cb4956d87f9c7464925 \
                    size    1016435

python.versions     313

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

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

    depends_run-append \
                    port:py${python.version}-astropy \
                    port:py${python.version}-matplotlib \
                    port:py${python.version}-parsing
}
