# -*- 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-mpl-animators
python.rootname     mpl_animators
version             1.2.4
revision            0

license             BSD
maintainers         {mps @Schamschula} openmaintainer
description         An interactive animation framework for matplotlib
long_description    {*}${description} This is for creating interactive animations with \
                    matplotlib. It is designed to handle N-dimensional data, and can \
                    be used to create animations.
homepage            https://github.com/sunpy/mpl-animators

checksums           rmd160  09d29ed17c7e5015c95c26191ddb632191e99c80 \
                    sha256  2f736726c4ca5437f6a1e01b198f5f6dfc78fe155470c8acec96c6569c0990d3 \
                    size    45832

python.versions     310 311 312 313 314

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

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

    variant wcs {
        depends_lib-append \
                    port:py${python.version}-astropy
    }

    default_variants +wcs
}
