# -*- 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             6.2.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  30350e9807a2ccf9a5b77bf74c8b555f8d9a72e4 \
                    sha256  38b328c0889450f05f5e120f56ab68c8abaf424e1275522b138ffc93253f7e32 \
                    size    30988

python.versions     39 310 311 312 313

if {${name} ne ${subport}} {
    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}
    }
}
