# -*- 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 archaic.
R.setup             cran stla qspray 3.1.0
revision            0
categories-append   math
maintainers         {@barracuda156 gmail.com:vital.had} openmaintainer
license             GPL-3
description         Multivariate polynomials with rational coefficients
long_description    {*}${description}
checksums           rmd160  d52a13b453209b740d1113847bde301e5e2aa72e \
                    sha256  e60bdc13550443a43c97c202b0d083d6600004cfbd83a67fcd6db3f693c0ba44 \
                    size    56965

depends_build-append \
                    path:bin/pkg-config:pkgconfig

depends_lib-append  port:gmp \
                    port:R-BH \
                    port:R-DescTools \
                    port:R-gmp \
                    port:R-partitions \
                    port:R-purrr \
                    port:R-RationalMatrix \
                    port:R-Rcpp \
                    port:R-Ryacas

compiler.cxx_standard 2017

depends_test-append port:R-testthat

test.run            yes