# -*- 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.10
revision            3
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  4dbcc486a3adfc0ef319f7522d82898c0bfb93a7 \
                    sha256  92496e0693a27c0a1c8caba671c51fcecc3a120f8ef7eb0cb3cd686a3e49124e \
                    size    1915439

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
