# -*- 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.38.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  2023d31271c0f2fc4a10dea28de1b22940541353 \
                    sha256  aeeb2f0a2cf0d3afa833976eff3ac7b8f5e472ae64171824900d79d3c68163c7 \
                    size    77339

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