# -*- 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-poethepoet
version             0.48.0
revision            0

categories-append   devel
license             MIT
maintainers         {mps @Schamschula} openmaintainer
description         A batteries included task runner that works well with poetry or uv.
long_description    {*}${description}
homepage            https://poethepoet.natn.io

supported_archs     noarch
platforms           {darwin any}

checksums           rmd160  00623f612f7d684459fa31b7b7c3e87afcc2417d \
                    sha256  a06f49d244fadfc2e2e7faa78b54e64a9694727e4ce1d50e08f23cea3ded74f1 \
                    size    148679

python.versions     310 311 312 313 314

python.pep517_backend \
                    poetry

if {${name} ne ${subport}} {
    depends_lib-append  \
                    port:py${python.version}-pastel \
                    port:py${python.version}-yaml

    if {${python.version} < 311} {
        depends_lib-append \
                    port:py${python.version}-tomli
    }
}
