# -*- 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.8.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  3fab5b4b4e9b42c7361ce08c5b81c42a4aedcc93 \
                    sha256  3ede829ed8d842f6cd48fc7081d7a41001a56f1f38603f9d49bf3020d59a31ad \
                    size    45875

python.versions     39 310 311 312 313 314

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