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

R.setup             cran eddelbuettel nanotime 0.3.10
revision            0
maintainers         {@barracuda156 gmail.com:vital.had} openmaintainer
license             GPL-2+
description         Nanosecond-resolution time support for R
long_description    {*}${description}
homepage            https://dirk.eddelbuettel.com/code/nanotime.html
checksums           rmd160  7c5179cbedcd5fec9f332fbd8ad30eb3af8c2969 \
                    sha256  3e360bb5da54a3e23c65d7d4bca3d71a17814f50569db4433c12955d07091447 \
                    size    408037

depends_lib-append  port:R-bit64 \
                    port:R-Rcpp \
                    port:R-RcppCCTZ \
                    port:R-RcppDate \
                    port:R-zoo

depends_test-append port:R-data.table \
                    port:R-tinytest \
                    port:R-xts

# There are a few failures in tests on PPC: https://github.com/eddelbuettel/nanotime/issues/113
test.run            yes
