# -*- 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-autocommand
version             2.2.2
revision            0

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

description         A library to create a command-line program from a function
long_description    {*}${description}

homepage            https://github.com/Lucretiel/autocommand

checksums           rmd160  1cd51d60240955e4685f658e3c0531203930ada6 \
                    sha256  878de9423c5596491167225c2a455043c3130fb5b7286ac83443d45e74955f34 \
                    size    22894

python.versions     310 311 312 313 314

if {${subport} ne ${name}} {
    patchfiles      patch-test_test_autosync.py.diff

    test.run        yes
}
