# -*- 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-pytoolconfig
version             1.3.1
revision            0

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

description         Python tool configuration
long_description    {*}${description}

homepage            https://github.com/bagel897/pytoolconfig

checksums           rmd160  f250982deaef62f395d68eae0037684a2b998b44 \
                    sha256  51e6bd1a6f108238ae6aab6a65e5eed5e75d456be1c2bf29b04e5c1e7d7adbae \
                    size    16655

python.versions     310 311 312 313 314
python.pep517_backend pdm

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

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