# -*- 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-regions
version             0.11
revision            0

categories-append   science
license             BSD
maintainers         nomaintainer

description         Astropy affilated package for region handling
long_description    {*}${description}

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

checksums           rmd160  ce6b7a93f6c350f623dcc76b2c1612a928dff1ac \
                    sha256  000adad78a2de9669a089a1e1fe829ae12ac4e863b5de346ee95723fc6dcae36 \
                    size    672696

python.versions     311 312 313

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

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