# -*- 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-shtab
version             1.8.0
revision            0

license             Apache-2
platforms           {darwin any}
supported_archs     noarch
maintainers         nomaintainer
description         Automagic shell tab completion for Python CLI applications.

long_description    {*}${description}
homepage            https://github.com/iterative/shtab

checksums           rmd160  354c09319064662220dbd553963b6d42fab7fa61 \
                    sha256  75f16d42178882b7f7126a0c2cb3c848daed2f4f5a276dd1ded75921cc4d073a \
                    size    46062

python.versions     310 311 312 313 314

if {${name} ne ${subport}} {
    depends_build-append \
                    port:py${python.version}-setuptools_scm

    depends_test-append \
                    port:py${python.version}-pytest-timeout

    test.run        yes
}
