# -*- 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.5
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  288ee477eb7569201c88d1309b83bb36ba4e0e3a \
                    sha256  0d0fb60852f84c0bd9543cc4d2ab9eefd37fc8efcc410acd4777e62a1d300318 \
                    size    6276387

python.versions     310 311 312 313 314

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
}
