# -*- 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-contextvars
version             2.4
revision            0

categories-append   devel
platforms           {darwin any}
supported_archs     noarch
license             Apache-2.0
maintainers         {reneeotten @reneeotten} openmaintainer

description         PEP 567 Backport
long_description    {*}${description}

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

checksums           rmd160  8a93b02e1ca00c938a16ca579ac32801dd4e4cfb \
                    sha256  f38c908aaa59c14335eeea12abea5f443646216c4e29380d7bf34d2018e2c39e \
                    size    9570

python.versions     310

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

    test.run        yes
}
