# -*- 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.3.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  a44956204a123321a0c19e6109f162c0c09b214e \
                    sha256  cd0c8cf738b4bb4807815bc1255acad5bdf1a7b7264b606c5a1bc0d0392a306b \
                    size    943626

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
}
