# -*- 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-pylru
version             1.2.1
revision            0

categories-append   devel
supported_archs     noarch
platforms           {darwin any}
license             GPL-2
maintainers         {ipglider.org:miguel @ipglider} openmaintainer

description         A least recently used (LRU) cache for Python.
long_description    Pylru implements a true LRU cache along with several support classes.

homepage            https://github.com/jlhutch/pylru

checksums           rmd160  7030ca665efba2074434a3d6577e1f6780cf30fe \
                    sha256  47ad140a63ab9389648dadfbb4330700e0ffeeb28ec04664ee47d37ed133b0f4 \
                    size    16923

python.versions     313

if {${subport} ne ${name}} {
    test.run        yes
    python.test_framework
    test.cmd        ${python.bin} test.py
}
