# $Id: Portfile,v 1.24 2006/06/21 06:27:19 mww Exp $

PortSystem 1.0
PortGroup python24 1.0

name			py-sqlite
version			2.3.1
categories		python databases
maintainers		mww@opendarwin.org
platforms		darwin freebsd
description		python database extension for sqlite
long_description	PySQLite is a Python extension for SQLite that \
				conforms to the Python Database API Specification 2.0.

homepage		http://www.pysqlite.org/
master_sites	http://initd.org/pub/software/pysqlite/releases/2.3/${version}/
distname		pysqlite-${version}
checksums		sha1 e177d7c7e53e66a3c78fb1915896a175e312da84

depends_lib-append	port:sqlite3

patchfiles		patch-setup.py patch-setup.cfg

post-patch {
	reinplace "s|__PREFIX__|${prefix}|g" ${worksrcpath}/setup.cfg
}

