svn commit: r418461 - in head/devel: . py-darts.util.lru
Kurt Jaeger
pi at FreeBSD.org
Wed Jul 13 05:26:31 UTC 2016
Author: pi
Date: Wed Jul 13 05:26:30 2016
New Revision: 418461
URL: https://svnweb.freebsd.org/changeset/ports/418461
Log:
New port: devel/py-darts.util.lru
A LRUDict is basically a simple dictionary, which has a defined
maximum capacity, that may be supplied at construction time, or
modified at run-time via the capacity property:
>>> cache = LRUDict(1)
>>> cache.capacity
1
WWW: https://pypi.python.org/pypi/darts.util.lru
PR: 211047
Submitted by: Danilo G. Baio <dbaio at bsd.com.br>
Added:
head/devel/py-darts.util.lru/
head/devel/py-darts.util.lru/Makefile (contents, props changed)
head/devel/py-darts.util.lru/distinfo (contents, props changed)
head/devel/py-darts.util.lru/pkg-descr (contents, props changed)
Modified:
head/devel/Makefile
Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile Wed Jul 13 03:36:58 2016 (r418460)
+++ head/devel/Makefile Wed Jul 13 05:26:30 2016 (r418461)
@@ -4037,6 +4037,7 @@
SUBDIR += py-daemons
SUBDIR += py-dal
SUBDIR += py-darcsver
+ SUBDIR += py-darts.util.lru
SUBDIR += py-dateutil
SUBDIR += py-dbus
SUBDIR += py-debtcollector
Added: head/devel/py-darts.util.lru/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-darts.util.lru/Makefile Wed Jul 13 05:26:30 2016 (r418461)
@@ -0,0 +1,18 @@
+# $FreeBSD$
+
+PORTNAME= darts.util.lru
+PORTVERSION= 0.5
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= dbaio at bsd.com.br
+COMMENT= Simple dictionary with LRU behaviour in Python
+
+LICENSE= MIT
+
+NO_ARCH= yes
+USES= python
+USE_PYTHON= autoplist distutils
+
+.include <bsd.port.mk>
Added: head/devel/py-darts.util.lru/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-darts.util.lru/distinfo Wed Jul 13 05:26:30 2016 (r418461)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1468026580
+SHA256 (darts.util.lru-0.5.tar.gz) = 58c50fea1e2f7a6419964781c78a77452012ab71a32d81796e2038e99a38488a
+SIZE (darts.util.lru-0.5.tar.gz) = 11765
Added: head/devel/py-darts.util.lru/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-darts.util.lru/pkg-descr Wed Jul 13 05:26:30 2016 (r418461)
@@ -0,0 +1,8 @@
+A LRUDict is basically a simple dictionary, which has a defined
+maximum capacity, that may be supplied at construction time, or
+modified at run-time via the capacity property:
+>>> cache = LRUDict(1)
+>>> cache.capacity
+1
+
+WWW: https://pypi.python.org/pypi/darts.util.lru
More information about the svn-ports-all
mailing list