# -*- 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.39.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

checksums           rmd160  9955958f7c920a7701b439619d51b60296d82e24 \
                    sha256  85f279ffaf2a58ba31db2048ab897740d4db839233c3f28740cf0517b3367710 \
                    size    79816

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
    }
}
