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

github.setup        randy3k radian 0.6.15 v
revision            0
categories          math python R
platforms           {darwin any}
license             MIT
maintainers         {@barracuda156 macos-powerpc.org:barracuda}
description         A XXI century R console
long_description    radian is an alternative console for the R program with multiline editing and rich syntax highlight. \
                    One would consider radian as a ipython clone for R, though its design is more aligned to Julia.

checksums           rmd160  70febafd735133627764a7ce8e2357a265e92dcb \
                    sha256  ae672d840691b0f2304b6a507454325444ffee3d91e34dadfdb8a2090e124858 \
                    size    85628
github.tarball_from archive
supported_archs     noarch

python.default_version 311

depends_build-append \
                    port:py${python.version}-setuptools
depends_lib-append  port:py${python.version}-prompt_toolkit \
                    port:py${python.version}-pygments \
                    port:py${python.version}-rchitect
depends_run-append  port:R

# FIXME: on 10.5.8 and 10a190 ppc it fails to run:
# https://trac.macports.org/ticket/67046
# https://github.com/randy3k/radian/issues/403
# On 10.6.8 ppc it appears to work fine.

depends_test-append port:py${python.version}-pexpect \
                    port:py${python.version}-ptyprocess \
                    port:py${python.version}-pyte \
                    port:py${python.version}-pytest-runner

test.run            yes
