1 # $NetBSD: Makefile,v 1.26 2012/04/15 22:00:59 wiz Exp $
3 DISTNAME= pysqlite-2.6.3
4 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/pysqlite/sqlite2/}
6 CATEGORIES= databases python
7 MASTER_SITES= http://pysqlite.googlecode.com/files/
9 MAINTAINER= pkgsrc-users@NetBSD.org
10 HOMEPAGE= http://pysqlite.googlecode.com/
11 COMMENT= SQLite database adapter for Python
14 PKG_DESTDIR_SUPPORT= user-destdir
16 .include "../../lang/python/distutils.mk"
18 do-postinstall-test: .PHONY
19 cd ${WRKDIR} && ${PYTHONBIN} -c "from pysqlite2 import test;test.test()"
21 .include "../../databases/sqlite3/buildlink3.mk"
22 .include "../../mk/bsd.pkg.mk"