# -*- 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.1
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  a873a0283edcff4f2724d824b811a0dfd43636ca \
                    sha256  17db72f37f2489452d2137ac891c4133b8f976f9189d8efd3e75f3b3add84e8c \
                    size    314075

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
}
