# -*- 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-arviz-base
version             1.3.1
revision            0

platforms           {darwin any}
supported_archs     noarch
license             Apache-2
maintainers         {reneeotten @reneeotten} openmaintainer

description         Base ArviZ features and converters
long_description    {*}${description}

homepage            https://github.com/arviz-devs/arviz-base

distname            arviz_base-${version}

checksums           rmd160  86da197b9f9e3a7909ecfd9b89f3ca64a34d159d \
                    sha256  f83c49d1842ca93821d38bc03f1d75df18d56d507694804a07ce6c1b3bbf2d6c \
                    size    1410984

python.versions     312 313 314
python.pep517_backend flit

if {${name} ne ${subport}} {
    patchfiles      patch-pyproject.toml.diff

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