svn commit: r424215 - in head/devel: . py-pylru
Mark Felder
feld at FreeBSD.org
Tue Oct 18 21:10:00 UTC 2016
Author: feld
Date: Tue Oct 18 21:09:58 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 at kyle-evans.net>
Added:
head/devel/py-pylru/
head/devel/py-pylru/Makefile (contents, props changed)
head/devel/py-pylru/distinfo (contents, props changed)
head/devel/py-pylru/pkg-descr (contents, props changed)
Modified:
head/devel/Makefile
Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile Tue Oct 18 20:59:40 2016 (r424214)
+++ head/devel/Makefile Tue Oct 18 21:09:58 2016 (r424215)
@@ -4386,6 +4386,7 @@
SUBDIR += py-pykde4
SUBDIR += py-pykdeuic4
SUBDIR += py-pyke
+ SUBDIR += py-pylru
SUBDIR += py-pylru-cache
SUBDIR += py-pymarc
SUBDIR += py-pympler
Added: head/devel/py-pylru/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-pylru/Makefile Tue Oct 18 21:09:58 2016 (r424215)
@@ -0,0 +1,20 @@
+# Created by: Kyle Evans <bsdports at kyle-evans.net>
+# $FreeBSD$
+
+PORTNAME= pylru
+PORTVERSION= 1.0.9
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= bsdports at kyle-evans.net
+COMMENT= Least recently used (lru) cache implementation
+
+LICENSE= GPLv2
+
+USES= python
+USE_PYTHON= autoplist distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
Added: head/devel/py-pylru/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-pylru/distinfo Tue Oct 18 21:09:58 2016 (r424215)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1475905838
+SHA256 (pylru-1.0.9.tar.gz) = 71376192671f0ad1690b2a7427d39a29b1df994c8469a9b46b03ed7e28c0172c
+SIZE (pylru-1.0.9.tar.gz) = 15461
Added: head/devel/py-pylru/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-pylru/pkg-descr Tue Oct 18 21:09:58 2016 (r424215)
@@ -0,0 +1,9 @@
+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
More information about the svn-ports-all
mailing list