summaryrefslogtreecommitdiff
path: root/databases/py-cdb
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2011-08-06 22:49:44 +0000
committerryoon <ryoon@pkgsrc.org>2011-08-06 22:49:44 +0000
commit608846b1b7084431b6f155d93c3638777f3f86c9 (patch)
tree8f384280073486131b694c1690d12a5b78a2b37b /databases/py-cdb
parent859f442fc0513d41c91d3fa0254de628754aebc6 (diff)
downloadpkgsrc-608846b1b7084431b6f155d93c3638777f3f86c9.tar.gz
Import py-cdb-0.34 as databases/py-cdb from wip/py-cdb
D. J. Bernstein's constant database library adapted as a python extension module. Like GDBM and kin, cdb files map keys to values. The file format boasts wickedly fast lookups and atomic updates.
Diffstat (limited to 'databases/py-cdb')
-rw-r--r--databases/py-cdb/DESCR3
-rw-r--r--databases/py-cdb/Makefile19
-rw-r--r--databases/py-cdb/PLIST2
-rw-r--r--databases/py-cdb/distinfo5
4 files changed, 29 insertions, 0 deletions
diff --git a/databases/py-cdb/DESCR b/databases/py-cdb/DESCR
new file mode 100644
index 00000000000..cff01c5e76c
--- /dev/null
+++ b/databases/py-cdb/DESCR
@@ -0,0 +1,3 @@
+D. J. Bernstein's constant database library adapted as a python
+extension module. Like GDBM and kin, cdb files map keys to values.
+The file format boasts wickedly fast lookups and atomic updates.
diff --git a/databases/py-cdb/Makefile b/databases/py-cdb/Makefile
new file mode 100644
index 00000000000..26260e5340f
--- /dev/null
+++ b/databases/py-cdb/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1.1.1 2011/08/06 22:49:44 ryoon Exp $
+#
+
+DISTNAME= python-cdb-0.34
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/python-//}
+CATEGORIES= databases
+MASTER_SITES= http://pilcrow.madison.wi.us/python-cdb/
+
+MAINTAINER= ryoon@NetBSD.org
+HOMEPAGE= http://pilcrow.madison.wi.us/
+COMMENT= cdb python extension module
+LICENSE= gnu-gpl-v2
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+PYDISTUTILSPKG= yes
+
+.include "../../lang/python/extension.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/py-cdb/PLIST b/databases/py-cdb/PLIST
new file mode 100644
index 00000000000..69dd028a27c
--- /dev/null
+++ b/databases/py-cdb/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2011/08/06 22:49:44 ryoon Exp $
+${PYSITELIB}/cdbmodule.so
diff --git a/databases/py-cdb/distinfo b/databases/py-cdb/distinfo
new file mode 100644
index 00000000000..560240684f6
--- /dev/null
+++ b/databases/py-cdb/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2011/08/06 22:49:44 ryoon Exp $
+
+SHA1 (python-cdb-0.34.tar.gz) = 6c5ef1f27fe0e5c2e9a4a032435ebf58c82639f2
+RMD160 (python-cdb-0.34.tar.gz) = 02519e7c03aae5798823ab4cd0388b6afaf1908a
+Size (python-cdb-0.34.tar.gz) = 18865 bytes