# -*- 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-zarr
version             3.2.0
revision            0

license             MIT
maintainers         {mps @Schamschula} openmaintainer
description         Zarr is a Python package providing an implementation of compressed, \
                    chunked, N-dimensional arrays, designed for use in parallel computing.
long_description    {*}${description}
homepage            https://github.com/zarr-developers/zarr-python

checksums           rmd160  58f70fd3a9c7b30d3b7090987c4b1ea2da5b79a8 \
                    sha256  5867fa8dd7910541075531368c8eaa6f35957ab5413c68c168830e83948665ed \
                    size    454948

python.versions     310 311 312 313 314

python.pep517_backend \
                    hatch

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

    depends_lib-append  \
                    port:py${python.version}-donfig \
                    port:py${python.version}-google-crc32c \
                    port:py${python.version}-numpy \
                    port:py${python.version}-numcodecs \
                    port:py${python.version}-typing_extensions
}
