# -*- 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-hdf5plugin
version             4.4.0
revision            0

platforms           darwin
license             MIT
maintainers         {nist.gov:joe.fowler @joefowler} openmaintainer

description         A set of compression filters for h5py
long_description    \
    hdf5plugin provides HDF5 compression filters--namely: blosc, bitshuffle, lz4, \
    FCIDECOMP, ZFP, zstd--and makes them usable from h5py.

homepage            https://www.silx.org/doc/hdf5plugin/latest/

checksums           rmd160  0f7b6aeb8a69142471d1f576fb35b39e4eedda93 \
                    sha256  4142f54170843782eda7456b8f47d15910879ceb2608025aebf9464b7163913a \
                    size    27450289

compiler.cxx_standard 2011

python.versions     38 39 310 311 312

if {${name} ne ${subport}} {
    patchfiles  pyproject.toml.patch

    depends_build-append \
        port:py${python.version}-cython \
        port:py${python.version}-setuptools

    depends_run-append \
        port:py${python.version}-h5py \
        port:py${python.version}-cpuinfo

    livecheck.type  none
}
