# -*- 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-frozenlist
version             1.5.0
license             Apache-2
maintainers         {toby @tobypeterson} openmaintainer
description         list-like structure which implements collections.abc.MutableSequence
long_description    frozenlist.FrozenList is a list-like structure which implements \
                    collections.abc.MutableSequence. The list is mutable until \
                    FrozenList.freeze is called, after which list modifications \
                    raise RuntimeError

homepage            https://github.com/aio-libs/frozenlist

checksums           rmd160  6004c382e180453e1c58ff9c5ce5999ad2442682 \
                    sha256  81d5af29e61b9c8348e876d442253723928dce6433e0e76cd925cd83f1b4b817 \
                    size    39930

python.versions     39 310 311 312 313

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

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