From owner-svn-ports-all@freebsd.org Tue Oct 18 21:10:00 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6B261C174F9; Tue, 18 Oct 2016 21:10:00 +0000 (UTC) (envelope-from feld@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 481F3EA; Tue, 18 Oct 2016 21:10:00 +0000 (UTC) (envelope-from feld@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u9IL9xrs082649; Tue, 18 Oct 2016 21:09:59 GMT (envelope-from feld@FreeBSD.org) Received: (from feld@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u9IL9xmU082645; Tue, 18 Oct 2016 21:09:59 GMT (envelope-from feld@FreeBSD.org) Message-Id: <201610182109.u9IL9xmU082645@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: feld set sender to feld@FreeBSD.org using -f From: Mark Felder Date: Tue, 18 Oct 2016 21:09:59 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r424215 - in head/devel: . py-pylru X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Oct 2016 21:10:00 -0000 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 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 +# $FreeBSD$ + +PORTNAME= pylru +PORTVERSION= 1.0.9 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= bsdports@kyle-evans.net +COMMENT= Least recently used (lru) cache implementation + +LICENSE= GPLv2 + +USES= python +USE_PYTHON= autoplist distutils + +NO_ARCH= yes + +.include 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