# -*- 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-pyorick
version             1.5
revision            0

license             BSD
platforms           {darwin any}
supported_archs     noarch
maintainers         {thibaut @paumard} openmaintainer

description         python connection to yorick

long_description    The pyorick package starts yorick as a subprocess \
                    and provides an interface between python and yorick \
                    interpreted code. Features: exec or eval arbitrary \
                    yorick code strings\; get or set yorick variables\; \
                    call yorick functions or subroutines with python \
                    arguments\; get or set slices of large yorick arrays\; \
                    terminal mode to interact with yorick by keyboard \
                    through python. Most of the data is exchanged via \
                    binary pipes between the two interpreters. Yorick runs \
                    in a request-reply mode. Python prints anything yorick \
                    sends to stdout or stderr except prompts.

homepage            https://github.com/dhmunro/pyorick

checksums           rmd160  14dd2b9d34d9d701561335b06e83d725d7618f04 \
                    sha256  073720f033b3a3013a3a28a371afaf279e49bb3c08ae7ed195e09c7947feb5ff \
                    size    39156

python.versions     312

if {${name} ne ${subport}} {
    depends_run-append  port:py${python.version}-numpy \
                        port:yorick
}
