pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Import py-lru-dict-1.1.6 as wip/py-lru-dict



Module Name:	pkgsrc-wip
Committed By:	Min Sik Kim <minskim%NetBSD.org@localhost>
Pushed By:	minskim
Date:		Thu Mar 23 16:30:44 2017 -0700
Changeset:	9bfefc654475cd4627f1fc2649c00d4bc7952fe2

Modified Files:
	Makefile
Added Files:
	py-lru-dict/DESCR
	py-lru-dict/Makefile
	py-lru-dict/PLIST
	py-lru-dict/distinfo

Log Message:
Import py-lru-dict-1.1.6 as wip/py-lru-dict

A fixed size dict like container which evicts Least Recently Used
(LRU) items once size limit is exceeded. There are many python
implementations available which does similar things. This is a fast
and efficient C implementation. LRU maximum capacity can be modified
at run-time.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=9bfefc654475cd4627f1fc2649c00d4bc7952fe2

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile             |  1 +
 py-lru-dict/DESCR    |  5 +++++
 py-lru-dict/Makefile | 16 ++++++++++++++++
 py-lru-dict/PLIST    |  6 ++++++
 py-lru-dict/distinfo |  6 ++++++
 5 files changed, 34 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index e5575dc8c8..10da36f0a5 100644
--- a/Makefile
+++ b/Makefile
@@ -3152,6 +3152,7 @@ SUBDIR+=	py-logilab-pigg
 SUBDIR+=	py-logtools
 SUBDIR+=	py-louie
 SUBDIR+=	py-lrparsing
+SUBDIR+=	py-lru-dict
 SUBDIR+=	py-lsqfit
 SUBDIR+=	py-luminous
 SUBDIR+=	py-lxmlproc
diff --git a/py-lru-dict/DESCR b/py-lru-dict/DESCR
new file mode 100644
index 0000000000..f915f3c867
--- /dev/null
+++ b/py-lru-dict/DESCR
@@ -0,0 +1,5 @@
+A fixed size dict like container which evicts Least Recently Used
+(LRU) items once size limit is exceeded. There are many python
+implementations available which does similar things. This is a fast
+and efficient C implementation. LRU maximum capacity can be modified
+at run-time.
diff --git a/py-lru-dict/Makefile b/py-lru-dict/Makefile
new file mode 100644
index 0000000000..e89c8cd953
--- /dev/null
+++ b/py-lru-dict/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD$
+
+DISTNAME=	lru-dict-1.1.6
+PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_PYPI:=l/lru-dict/}
+
+MAINTAINER=	minskim%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/amitdev/lru-dict
+COMMENT=	Dict-like LRU container
+LICENSE=	mit
+
+USE_LANGUAGES=	c
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-lru-dict/PLIST b/py-lru-dict/PLIST
new file mode 100644
index 0000000000..d4892b1415
--- /dev/null
+++ b/py-lru-dict/PLIST
@@ -0,0 +1,6 @@
+@comment $NetBSD$
+${PYSITELIB}/lru.so
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
diff --git a/py-lru-dict/distinfo b/py-lru-dict/distinfo
new file mode 100644
index 0000000000..ec89deea1c
--- /dev/null
+++ b/py-lru-dict/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (lru-dict-1.1.6.tar.gz) = c3f5743617f097132b231b0ba15725ab63a788da
+RMD160 (lru-dict-1.1.6.tar.gz) = c970d786bf6fc51728bd1a1d6599b3f57aa31663
+SHA512 (lru-dict-1.1.6.tar.gz) = 3e9ef734ba1dbf4914e1e133063e170038f89884f5ebfe2fd80b949f866e92d16e76b4dc833f73330438dc8b6c48ba4c285a0d6eda65d21d42da3887fd344395
+Size (lru-dict-1.1.6.tar.gz) = 9434 bytes


Home | Main Index | Thread Index | Old Index