# -*- 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-numcodecs
version             0.16.3
revision            0
license             MIT
maintainers         {mps @Schamschula} openmaintainer
description         Numcodecs is a Python package providing buffer compression and \
                    transformation codecs for use in data storage and communication applications.
long_description    {*}${description}
homepage            https://github.com/zarr-developers/numcodecs

checksums           rmd160  e6f432661a6827f25fd481b28529ca8d8268d993 \
                    sha256  53d705865faaf0a7927c973af3777532001c8fbb653de119c1e844608614d799 \
                    size    6275704

python.versions     39 310 311 312 313

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

    depends_lib-append  \
                    port:py${python.version}-cpuinfo \
                    port:py${python.version}-numpy

    patchfiles      patch-pyproject.toml.diff
}
