# -*- 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           R 1.0

# GitHub version is outdated.
R.setup             cran hhoeflin hdf5r 1.3.12
revision            2
maintainers         {@barracuda156 macos-powerpc.org:barracuda} openmaintainer
license             Apache-2
description         Interface to the HDF5 binary data format
long_description    {*}${description}
homepage            https://hhoeflin.github.io/hdf5r
checksums           rmd160  269ed4997b99aef96a6b683659dc15c6bfbf3cab \
                    sha256  e2e736b66837f516ac3e31e7bbf41c2a0e37431757df983442ce0062dc13ff64 \
                    size    1919746

depends_build-append \
                    port:grep
depends_lib-append  port:hdf5 \
                    port:R-bit64 \
                    port:R-R6

depends_test-append port:R-formatR \
                    port:R-knitr \
                    port:R-nycflights13 \
                    port:R-reshape2 \
                    port:R-rmarkdown \
                    port:R-testthat

# FIXME: there are some tests failures on PowerPC: https://github.com/hhoeflin/hdf5r/issues/205
test.run            yes
