pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/py-pylru py-pylry: import version 1.2.0
details: https://anonhg.NetBSD.org/pkgsrc/rev/7de907a413f5
branches: trunk
changeset: 447740:7de907a413f5
user: khorben <khorben%pkgsrc.org@localhost>
date: Thu Feb 25 15:10:08 2021 +0000
description:
py-pylry: import version 1.2.0
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.
diffstat:
devel/py-pylru/DESCR | 8 ++++++++
devel/py-pylru/Makefile | 16 ++++++++++++++++
devel/py-pylru/PLIST | 8 ++++++++
devel/py-pylru/distinfo | 6 ++++++
4 files changed, 38 insertions(+), 0 deletions(-)
diffs (54 lines):
diff -r d0426b4c74c2 -r 7de907a413f5 devel/py-pylru/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-pylru/DESCR Thu Feb 25 15:10:08 2021 +0000
@@ -0,0 +1,8 @@
+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.
diff -r d0426b4c74c2 -r 7de907a413f5 devel/py-pylru/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-pylru/Makefile Thu Feb 25 15:10:08 2021 +0000
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1 2021/02/25 15:10:08 khorben Exp $
+
+DISTNAME= pylru-1.2.0
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= devel python
+MASTER_SITES= ${MASTER_SITE_PYPI:=p/pylru/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/jlhutch/pylru
+COMMENT= Implementation of a least recently used (LRU) cache
+LICENSE= gnu-gpl-v2
+
+USE_LANGUAGES= # none
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r d0426b4c74c2 -r 7de907a413f5 devel/py-pylru/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-pylru/PLIST Thu Feb 25 15:10:08 2021 +0000
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1 2021/02/25 15:10:08 khorben Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/pylru.py
+${PYSITELIB}/pylru.pyc
+${PYSITELIB}/pylru.pyo
diff -r d0426b4c74c2 -r 7de907a413f5 devel/py-pylru/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-pylru/distinfo Thu Feb 25 15:10:08 2021 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2021/02/25 15:10:08 khorben Exp $
+
+SHA1 (pylru-1.2.0.tar.gz) = e2754775c3025428a1c5406d7dc1bac54f586f42
+RMD160 (pylru-1.2.0.tar.gz) = b066998bdc27e6588723b7f674ea8c10b44a5a58
+SHA512 (pylru-1.2.0.tar.gz) = d4b247cb3740c2f94f4f41bd9affbb87db4e2ec8ff566978d130d08fee9df6109c13b64f22536903bf8be3ea60d4b105dd969d1156a279115b6bfedb817cdbf5
+Size (pylru-1.2.0.tar.gz) = 18533 bytes
Home |
Main Index |
Thread Index |
Old Index