# -*- 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-pyexpect
version             1.0.22
revision            0

categories-append   devel
platforms           {darwin any}
license             ISC
supported_archs     noarch

python.versions     313

homepage            https://github.com/dwt/pyexpect

description         Minimal but very flexible implementation of the expect \
                    pattern

long_description    {*}${description}


maintainers         {gmail.com:herby.gillot @herbygillot} \
                    openmaintainer

checksums           rmd160  c1e267cf8262ada7dcecc4bea2ec16c2c8bcdc82 \
                    sha256  659351e7ee8923b42de8a774fabfc806acf07377d7fd19f2ea4412ef8f619c6a \
                    size    31278

if {${name} ne ${subport}} {
    test.run        yes

    post-destroot {
        # The package is installing tests directly into the site-packages root.
        # Clean this up.
        file delete -force ${destroot}${python.pkgd}/tests
    }
}
