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

name                py-rpy2-rinterface
version             3.6.6
revision            1

categories-append   math
license             GPL-2+
maintainers         nomaintainer

description         Low-level interface from Python to the R.
long_description    {*}${description}

homepage            https://rpy2.github.io/

distname            rpy2_rinterface-${version}

checksums           rmd160  101dc795cdecf87861ed5edcb55cd3594845f873 \
                    sha256  a9cc1341ce5cb4df1dc67c40dc3b2ce0caface7215bd4262fe0ed011958a3369 \
                    size    81414

python.versions     314

if {${name} ne ${subport}} {
    # keep synchronized with the R port
    compiler.openmp_version 4.5

    depends_lib-append \
                    port:py${python.version}-cffi \
                    port:R

    test.run        yes
}
