# -*- 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.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  a7c5041a460c9553f9145c376bb24fc23b691982 \
                    sha256  71565b738a0e7e8ed226f0516eba8c6bb53440ad7669a8c48ebb3534a161d035 \
                    size    675161

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
}
