# $Id$ PortSystem 1.0 PortGroup python 1.0 name py-lrucache version 0.2 revision 1 license AFL-2.1 platforms darwin supported_archs noarch maintainers nomaintainer description least-recently-used cache module for python long_description py-lrucache provides a simple but efficient \ least-recently-used (LRU) cache module. The LRUCache class \ provides a container interface with prioritized caching. The \ implementation uses a heap and a dictionary to provide quick \ inserts, deletes, and references. homepage http://evan.prodromou.name/lrucache/ master_sites ${homepage} distname lrucache-${version} checksums md5 b55a8cc303c43c8a0f01ed25269d588a python.versions 24 if {$subport != $name} { set cmd "PYTHONPATH=../build/lib ${python.bin}" test.run yes test.cmd ${cmd} assign.py && ${cmd} contain.py && ${cmd} delete.py \ && ${cmd} instantiate.py && ${cmd} iterator.py \ && ${cmd} lru.py && ${cmd} mtime.py test.dir ${worksrcpath}/test test.target post-destroot { xinstall -m 644 -W ${worksrcpath} Changelog Changelog-0.1 README.txt \ afl-2.1.txt ${destroot}${prefix}/share/doc/${subport} } }