# -*- 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.4
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  c7a44517982ea4fcb27bb4a50b69f179f1e10532 \
                    sha256  0c9118f65bdce3edd1336e92c72fd47a8beae1bb9802b4ae93893383b01e31b9 \
                    size    6274543

python.versions     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
}
