Initial import of py-cdb-0.32.

The python-cdb extension module is an adaptation of D. J. Bernstein's
constant database package (see http://cr.yp.to/cdb.html).

cdb files are mappings of keys to values, designed for wickedly fast
lookups and atomic updates.  This module mimics the normal cdb
utilities, cdb(get|dump|make), via convenient, high-level Python
objects.

Submitted and maintained by Lars Hansson <lars at unet.net.ph>.
This commit is contained in:
xsa 2004-10-11 19:03:10 +00:00
parent 16bf15146f
commit 569d11dd1e
5 changed files with 52 additions and 0 deletions

34
databases/py-cdb/Makefile Normal file
View File

@ -0,0 +1,34 @@
# $OpenBSD: Makefile,v 1.1.1.1 2004/10/11 19:03:10 xsa Exp $
COMMENT= "Python extension module for accessing cdb databases"
DISTNAME= python-cdb-0.32
PKGNAME= ${DISTNAME:S/python/py/}
CATEGORIES= databases
HOMEPAGE= http://pilcrow.madison.wi.us/
MAINTAINER= Lars Hansson <lars@unet.net.ph>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${HOMEPAGE}/python-cdb/
MODULES= lang/python
NO_REGRESS= Yes
DOCSDIR= ${PREFIX}/share/doc/py-cdb
EXAMPLESDIR= ${PREFIX}/share/examples/py-cdb
post-install:
${INSTALL_DATA_DIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
${INSTALL_DATA_DIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/Example ${EXAMPLESDIR}
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
MD5 (python-cdb-0.32.tar.gz) = 0e303095f8c0ea9f09d7f11faf89805f
RMD160 (python-cdb-0.32.tar.gz) = 665102db0d08df00dde5bb235d708158fe15c2ce
SHA1 (python-cdb-0.32.tar.gz) = b2a109d601f36cf6a829992461a6c7db61022c45

View File

@ -0,0 +1,7 @@
The python-cdb extension module is an adaptation of D. J. Bernstein's
constant database package (see http://cr.yp.to/cdb.html).
cdb files are mappings of keys to values, designed for wickedly fast
lookups and atomic updates. This module mimics the normal cdb
utilities, cdb(get|dump|make), via convenient, high-level Python
objects.

View File

@ -0,0 +1,2 @@
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2004/10/11 19:03:10 xsa Exp $
lib/python${MODPY_VERSION}/site-packages/cdbmodule.so

View File

@ -0,0 +1,6 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2004/10/11 19:03:10 xsa Exp $
%%SHARED%%
share/doc/py-cdb/
share/doc/py-cdb/README
share/examples/py-cdb/
share/examples/py-cdb/Example