mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +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:
parent
da5acae622
commit
2fcc66a04a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=418461
@ -4037,6 +4037,7 @@
|
|||||||
SUBDIR += py-daemons
|
SUBDIR += py-daemons
|
||||||
SUBDIR += py-dal
|
SUBDIR += py-dal
|
||||||
SUBDIR += py-darcsver
|
SUBDIR += py-darcsver
|
||||||
|
SUBDIR += py-darts.util.lru
|
||||||
SUBDIR += py-dateutil
|
SUBDIR += py-dateutil
|
||||||
SUBDIR += py-dbus
|
SUBDIR += py-dbus
|
||||||
SUBDIR += py-debtcollector
|
SUBDIR += py-debtcollector
|
||||||
|
18
devel/py-darts.util.lru/Makefile
Normal file
18
devel/py-darts.util.lru/Makefile
Normal 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>
|
3
devel/py-darts.util.lru/distinfo
Normal file
3
devel/py-darts.util.lru/distinfo
Normal 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
|
8
devel/py-darts.util.lru/pkg-descr
Normal file
8
devel/py-darts.util.lru/pkg-descr
Normal 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
|
Loading…
Reference in New Issue
Block a user