# -*- 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-cachetools
version             7.0.0
revision            0

platforms           {darwin any}
supported_archs     noarch
license             MIT
maintainers         {reneeotten @reneeotten} openmaintainer

description         memoizing collections and decorators
long_description    This module provides various {*}${description}, including variants of the \
                    Python 3 Standard Library @lru_cache function decorator.

homepage            https://github.com/tkem/cachetools

checksums           rmd160  451eb7978fcf9b6f9546e85980967c600a7b2af3 \
                    sha256  a9abf18ff3b86c7d05b27ead412e235e16ae045925e531fae38d5fada5ed5b08 \
                    size    35796

python.versions     39 310 311 312 313 314

if {${name} ne ${subport}} {
    if {${python.version} == 39} {
    }
        version     6.2.6
        revision    0
        checksums   rmd160  17c9e82f0ebbbc7223b57d50943ef9ed3905cedf \
                    sha256  16c33e1f276b9a9c0b49ab5782d901e3ad3de0dd6da9bf9bcd29ac5672f2f9e6 \
                    size    32363

    test.run        yes

    post-destroot {
        set docdir ${prefix}/share/doc/${subport}
        xinstall -d ${destroot}${docdir}
        xinstall -m 0644 -W ${worksrcpath} README.rst LICENSE \
            CHANGELOG.rst ${destroot}${docdir}
    }
}
