# -*- 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-aeppl
version             0.1.5
revision            0

categories-append   devel
supported_archs     noarch
platforms           {darwin any}
license             MIT
maintainers         {reneeotten @reneeotten} openmaintainer

description         PPL tools for Aesara
long_description    {*}${description}

homepage            https://github.com/aesara-devs/aeppl

checksums           rmd160  84bc92b958b64624b260f62ff8c71c201046e22c \
                    sha256  2bb70c0aff40cd1f90a750bd53239ce12d9cc97cd0826987ad8581c329a41001 \
                    size    65952

python.versions     310 311 312

if {${name} ne ${subport}} {
    depends_lib-append \
                    port:py${python.version}-aesara \
                    port:py${python.version}-numpy \
                    port:py${python.version}-scipy \
                    port:py${python.version}-typing_extensions

    post-destroot {
        set docdir ${prefix}/share/doc/${subport}
        xinstall -d ${destroot}${docdir}
        xinstall -m 0644 -W ${worksrcpath} README.md \
            LICENSE ${destroot}${docdir}
    }
}
