# -*- 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-immutables
version             0.21
revision            0

categories-append   devel
license             Apache-2
maintainers         {@jandemter demter.de:jan} openmaintainer

description         A high-performance immutable mapping type for Python
long_description    An immutable mapping type for Python.  The underlying \
                    datastructure is a Hash Array Mapped Trie (HAMT) used \
                    in Clojure, Scala, Haskell, and other functional \
                    languages. This implementation is used in CPython 3.7 \
                    in the contextvars module (see PEP 550 and PEP 567 for more details).

homepage            https://github.com/MagicStack/immutables

checksums           rmd160  3c4fb13e5072a3445f6319ae27808877cf76926d \
                    sha256  b55ffaf0449790242feb4c56ab799ea7af92801a0a43f9e2f4f8af2ab24dfc4a \
                    size    89008

python.versions     310 311 312 313

if {${name} ne ${subport}} {
    test.run            yes

    depends_test-append port:py${python.version}-mypy
}
