# -*- 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-iniconfig
version             2.3.0
revision            0

categories-append   devel
platforms           {darwin any}
license             MIT
supported_archs     noarch

python.versions     310 311 312 313 314

maintainers         {stromnov @stromnov} openmaintainer

description         iniconfig is a small and simple INI-file parser module.
long_description    {*}${description}

homepage            https://github.com/RonnyPfannschmidt/iniconfig

checksums           rmd160  dcdaa73fc093222c547239dd35f3c6d9b6b6173e \
                    sha256  c76315c77db068650d49c5b56314774a7804df16fee4402c1f19d6d15d8c4730 \
                    size    20503

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

    depends_test-append \
                    port:py${python.version}-pytest-xdist

    test.run        yes
}
