# -*- 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 fabsig gpboost 1.5.4
revision            0
categories-append   math
maintainers         {@barracuda156 gmail.com:vital.had} openmaintainer
license             Apache-2
description         Combining tree-boosting with Gaussian process and mixed effects models
long_description    {*}${description}
homepage            https://github.com/fabsig/GPBoost
checksums           rmd160  d3d155878ea80e9b733087e78ca12eca5472b17a \
                    sha256  480dc2e0a34279d68732513bb9706e851d893adf691c1107bc752e32afa7962a \
                    size    2164947

depends_lib-append  port:R-data.table \
                    port:R-R6 \
                    port:R-RJSONIO

compiler.cxx_standard 2017

depends_test-append port:R-testthat

test.run            yes

# FIXME: linking on Rosetta may fail: https://github.com/fabsig/GPBoost/issues/97
# No problem when building natively on PowerPC.
