# -*- 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             github getkeops keops 2.1.2 v
set R.package       rkeops
# There is a version mismatch between declared for keops itself and its R package.
version             2.1.0
revision            1
categories-append   math
maintainers         {@barracuda156 gmail.com:vital.had} openmaintainer
license             MIT
description         Kernel Operations on GPU or CPU, with autodiff, without memory overflows
long_description    {*}${description}
homepage            https://www.kernel-operations.io
checksums           rmd160  0cab23db9a016a641fdbf465c007cdd017fc2a9e \
                    sha256  f128275fa966d7c20970f9782bc36c84ceaf196a369ebb42451bf8697ed02341 \
                    size    4227936
supported_archs     noarch
platforms           {darwin any}

worksrcdir          ${worksrcpath}/rkeops

depends_lib-append  port:R-checkmate \
                    port:R-data.table \
                    port:R-future \
                    port:R-Rdpack \
                    port:R-reticulate \
                    port:R-RhpcBLASctl \
                    port:R-stringi \
                    port:R-stringr \
                    port:R-tibble

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

test.run            yes