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

name                py-oct2py

python.versions     310 311

github.setup        blink1073 oct2py 5.5.1 v
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
checksums           rmd160  2efc65d5f343129a698b14e054d5add628e96612 \
                    sha256  d4e75680738c3104ed22a4a1619f4377f9ab161d1c411f5034cdaa6ea6addb93 \
                    size    443578
revision            0

license             MIT
maintainers         {michaelld @michaelld} openmaintainer
description         Python to GNU Octave bridge --> run m-files from Python.
long_description    {*}${description}
platforms           {darwin any}

supported_archs     noarch

if {${name} ne ${subport}} {
    depends_lib-append \
        port:octave \
        port:py${python.version}-metakernel \
        port:py${python.version}-octave_kernel

    depends_run-append \
        port:py${python.version}-scipy

    test.run            yes

    depends_test-append \
        port:octave-signal
}
