# -*- 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-aplpy
version             2.2.0
revision            0

categories-append   science
platforms           {darwin any}
supported_archs     noarch
license             MIT
maintainers         {stsci.edu:mperrin @mperrin} openmaintainer

description         The Astronomical Plotting Library in Python
long_description    \
    APLpy (the Astronomical Plotting Library in Python) is a Python module \
    aimed at producing publication-quality plots of astronomical imaging data \
    in FITS format. The module uses Matplotlib, a powerful and interactive \
    plotting package. It is capable of creating output files in several \
    graphical formats, including EPS, PDF, PS, PNG, and SVG.

homepage            https://aplpy.github.io

checksums           rmd160  3a9668a98d8c5fe7cc2a9aed9d78e143f706493c \
                    sha256  a14ca550ceffe8ec84245ae992bf4c8d78a55c2fd921d050e5abb872fc99880d \
                    size    1321581

python.versions     313

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

    depends_run-append  port:py${python.version}-numpy \
                        port:py${python.version}-astropy \
                        port:py${python.version}-matplotlib \
                        port:py${python.version}-reproject \
                        port:py${python.version}-pyregion \
                        path:${python.pkgd}/PIL:py${python.version}-Pillow \
                        port:py${python.version}-pyavm \
                        port:py${python.version}-scikit-image \
                        port:py${python.version}-shapely
}
