# -*- 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.1.2
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  ca7f0955396d35e227247057f2e986207856628a \
                    sha256  688e4eb79045c110128cd16f301f2f58fa19507b1803dcbea0ea894e66e06274 \
                    size    324221

python.versions     39 310 311 312 313

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}-numpy \
                    port:py${python.version}-numcodecs \
                    port:py${python.version}-typing_extensions
}
