1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00

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@bsd.com.br>
This commit is contained in:
Kurt Jaeger 2016-07-13 05:26:30 +00:00
parent da5acae622
commit 2fcc66a04a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=418461
4 changed files with 30 additions and 0 deletions

View File

@ -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

View File

@ -0,0 +1,18 @@
# $FreeBSD$
PORTNAME= darts.util.lru
PORTVERSION= 0.5
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= dbaio@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>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1468026580
SHA256 (darts.util.lru-0.5.tar.gz) = 58c50fea1e2f7a6419964781c78a77452012ab71a32d81796e2038e99a38488a
SIZE (darts.util.lru-0.5.tar.gz) = 11765

View File

@ -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