# -*- 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-repl
python.rootname     pyrepl
version             0.9.0
revision            0

supported_archs     noarch
platforms           {darwin any}
maintainers         nomaintainer
license             MIT

description         readline-a-like in Python
long_description    {*}${description}

homepage            https://bitbucket.org/pypy/pyrepl/

checksums           rmd160  77f60e1788a2123929bcebec6f366fff92c0c17e \
                    sha256  292570f34b5502e871bbb966d639474f2b57fbfcd3373c2d6a2f3d56e681a775 \
                    size    48744

python.versions     310 311

if {${subport} ne ${name}} {
    post-destroot {
        set docdir ${prefix}/share/doc/${subport}
        xinstall -d ${destroot}${docdir}
        xinstall -m 0644 -W ${worksrcpath} README CHANGES \
            LICENSE CREDITS ${destroot}${docdir}
    }
}
