# -*- 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-gym
version             0.26.2
revision            0

platforms           {darwin any}
supported_archs     noarch
license             MIT
maintainers         nomaintainer

description         The OpenAI Gym A toolkit for developing and comparing \
                    your reinforcement learning agents.
long_description    {*}${description}

homepage            https://github.com/openai/gym

checksums           rmd160  01df426f4741f4fc825e152877005d91c2777d0d \
                    sha256  e0d882f4b54f0c65f203104c24ab8a38b039f1289986803c7d02cdbe214fbcc4 \
                    size    721689

python.versions     314

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

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