# -*- 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 cedricjuessen TempStable 0.2.2
revision            1
categories-append   math
maintainers         {@barracuda156 gmail.com:vital.had} openmaintainer
license             GPL-2+
description         Collection of methods to estimate parameters of different tempered stable distributions
long_description    {*}${description}
homepage            https://cedricjuessen.github.io/TempStable
checksums           rmd160  d60aa267325279b2224065ae800872bf19446c8b \
                    sha256  59eafcf4910c3e4bd45cb8c50494c43e8549d45d22c5aef314db74baee14837c \
                    size    171045
supported_archs     noarch
platforms           {darwin any}

depends_lib-append  port:R-copula \
                    port:R-doParallel \
                    port:R-foreach \
                    port:R-gsl \
                    port:R-hypergeo \
                    port:R-moments \
                    port:R-numDeriv \
                    port:R-stabledist \
                    port:R-StableEstim \
                    port:R-rootSolve \
                    port:R-VGAM

patchfiles          patch-no-v8.diff

depends_test-append port:R-knitr \
                    port:R-rmarkdown \
                    port:R-testthat

# FIXME: one test fails on PPC: https://github.com/cedricjuessen/TempStable/issues/1
test.run            yes
