# -*- 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-exceptiongroup
version             1.3.1
epoch               1
revision            0

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

description         Backport of PEP 654 (exception groups)
long_description    {*}${description}

homepage            https://pypi.org/project/exceptiongroup

checksums           rmd160  1dd0a552076eaf6c05f2772af53e3eb1ac05e508 \
                    sha256  8b412432c6055b0b7d14c310000ae93352ed6754f70fa8f7c34141f91c4e3219 \
                    size    30371

python.versions     37 38 310 311 312 313

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

    if {${python.version} < 313} {
        depends_lib-append \
                    port:py${python.version}-typing_extensions
    }
}
