expiringdict is a Python caching library. The core of the library is ExpiringDict class which is an ordered dictionary with auto-expiring values for caching purposes. Expiration happens on any access, object is locked during cleanup from expired values. ExpiringDict can not store more than max_len elements - the oldest will be deleted. WWW: https://github.com/mailgun/expiringdict
19 lines
379 B
Makefile
19 lines
379 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= expiringdict
|
|
PORTVERSION= 1.1.4
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= antoine@FreeBSD.org
|
|
COMMENT= Dictionary with auto-expiring values for caching purposes
|
|
|
|
LICENSE= APACHE20
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
NO_ARCH= yes
|
|
USES= python
|
|
USE_PYTHON= distutils autoplist
|
|
|
|
.include <bsd.port.mk>
|