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

# CRAN version has no tests: https://github.com/thk686/odeintr/issues/8
R.setup             github thk686 odeintr 3586296892aa9d3abc2c5c294db52bd075866a7d
version             1.7.1
revision            2
categories-append   math
maintainers         {@barracuda156 gmail.com:vital.had} openmaintainer
license             {GPL-2 GPL-3}
description         Wraps the Boost odeint library for integration of differential equations
long_description    {*}${description}
checksums           rmd160  a86fcf7af0627efaa786aebf7e2f3033a1d98aa7 \
                    sha256  e16ec6a210ba968e607a30f8b900afac56c8ee3bf0e953c99d0b5c8f4786c860 \
                    size    1430772

depends_lib-append  port:R-BH \
                    port:R-Rcpp

patchfiles          patch-tests.diff

post-patch {
	file attributes ${worksrcpath}/configure -permissions +x
}

depends_test-append port:R-testthat

test.run            yes