Created attachment 175545 [details] shar(1) archive of devel/py-pylru Port generated by pytoport and then massaged a little bit. Importing for development purposes as well as for an incoming OctoPrint port.
A commit references this bug: Author: feld Date: Tue Oct 18 21:09:59 UTC 2016 New revision: 424215 URL: https://svnweb.freebsd.org/changeset/ports/424215 Log: Pylru implements a true LRU cache along with several support classes. The cache is efficient and written in pure Python. It works with Python 2.6+ including the 3.x series. Basic operations (lookup, insert, delete) all run in a constant amount of time. Pylru provides a cache class with a simple dict interface. It also provides classes to wrap any object that has a dict interface with a cache. Both write-through and write-back semantics are supported. Pylru also provides classes to wrap functions in a similar way, including a function decorator. WWW: https://github.com/jlhutch/pylru PR: 213323 Submitted by: Kyle Evans <bsdports@kyle-evans.net> Changes: head/devel/Makefile head/devel/py-pylru/ head/devel/py-pylru/Makefile head/devel/py-pylru/distinfo head/devel/py-pylru/pkg-descr
Committed, thanks!