Skip site navigation (1)Skip section navigation (2)
Date:      4 Dec 2001 04:48:24 -0000
From:      jason-dated-1008650545.5ed6d8@mastaler.com
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/32489: New port: py-cdb (Python interface to constant databases)
Message-ID:  <20011204044824.6387.qmail@aguirre.la.mastaler.com>

next in thread | raw e-mail | index | archive | help

>Number:         32489
>Category:       ports
>Synopsis:       New port: py-cdb (Python interface to constant databases)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 03 20:50:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Jason R. Mastaler
>Release:        FreeBSD 4.4-RELEASE i386
>Organization:
>Environment:

System: FreeBSD aguirre.la.mastaler.com 4.4-RELEASE FreeBSD 4.4-RELEASE #1: Fri Sep 21 05:33:30 MDT 2001 root@aguirre.la.mastaler.com:/usr/obj/usr/src/sys/AGUIRRE i386

>Description:

python-cdb is D. J. Bernstein's constant database library adapted as a
python extension module.

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.

Author: MJ Pomraning <mjp@pilcrow.madison.wi.us>
WWW:    http://pilcrow.madison.wi.us/

>How-To-Repeat:
	
>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	py-cdb
#	py-cdb/Makefile
#	py-cdb/distinfo
#	py-cdb/pkg-comment
#	py-cdb/pkg-descr
#	py-cdb/pkg-plist
#
echo c - py-cdb
mkdir -p py-cdb > /dev/null 2>&1
echo x - py-cdb/Makefile
sed 's/^X//' >py-cdb/Makefile << 'END-of-py-cdb/Makefile'
X# New ports collection makefile for:	py-cdb
X# Date created:				03 December 2001
X# Whom:					Jason R. Mastaler <jason@mastaler.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	cdb
XPORTVERSION=	0.22a
XCATEGORIES=	databases python
XMASTER_SITES=	http://pilcrow.madison.wi.us/sw/
XPKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
XDISTNAME=	python-${PORTNAME}-${PORTVERSION}
X
XMAINTAINER=	jason@mastaler.com
X
XBUILD_DEPENDS=	${PYDISTUTILS}
XUSE_PYTHON=	yes
X
Xdo-build:
X	(cd ${WRKSRC}; ${PYTHON_CMD} setup.py build)
X
Xdo-install:
X	(cd ${WRKSRC}; ${PYTHON_CMD} setup.py install)
X
X.include <bsd.port.mk>
END-of-py-cdb/Makefile
echo x - py-cdb/distinfo
sed 's/^X//' >py-cdb/distinfo << 'END-of-py-cdb/distinfo'
XMD5 (python-cdb-0.22a.tar.gz) = 347c2d10079644756e80537b49fad056
END-of-py-cdb/distinfo
echo x - py-cdb/pkg-comment
sed 's/^X//' >py-cdb/pkg-comment << 'END-of-py-cdb/pkg-comment'
XPython interface to D. J. Bernstein's CDB (constant database) library
END-of-py-cdb/pkg-comment
echo x - py-cdb/pkg-descr
sed 's/^X//' >py-cdb/pkg-descr << 'END-of-py-cdb/pkg-descr'
Xpython-cdb is D. J. Bernstein's constant database library adapted as a
Xpython extension module.
X
Xcdb files are mappings of keys to values, designed for wickedly fast
Xlookups and atomic updates.  This module mimics the normal cdb
Xutilities (cdb(get|dump|make)) via convenient high-level Python
Xobjects.
X
XAuthor: MJ Pomraning <mjp@pilcrow.madison.wi.us>
XWWW: 	http://pilcrow.madison.wi.us/
END-of-py-cdb/pkg-descr
echo x - py-cdb/pkg-plist
sed 's/^X//' >py-cdb/pkg-plist << 'END-of-py-cdb/pkg-plist'
Xlib/%%PYTHON_VERSION%%/site-packages/cdbmodule.so
END-of-py-cdb/pkg-plist
exit

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011204044824.6387.qmail>