summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorryoon <ryoon>2011-08-06 22:49:44 +0000
committerryoon <ryoon>2011-08-06 22:49:44 +0000
commit28ed430b68e378cd1735d4d6dffa6d217f3737c2 (patch)
tree8f384280073486131b694c1690d12a5b78a2b37b /databases
parentc33be04a7fa934d9f7cce7de2e1d02e366f7436b (diff)
downloadpkgsrc-28ed430b68e378cd1735d4d6dffa6d217f3737c2.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')
-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