# -*- 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.11
revision            0
maintainers         {@barracuda156 gmail.com:vital.had} openmaintainer
license             Apache-2
description         Interface to the HDF5 binary data format
long_description    {*}${description}
homepage            https://hhoeflin.github.io/hdf5r
checksums           rmd160  bc9a4d3f67328eda6781e817494b69b739af57a9 \
                    sha256  9795d667bc72acfabece1e3ece1aa4e60e8194cb4eb8b46985efccd19a55a8c4 \
                    size    1919705

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