pkgsrc/databases/py-sqlite2/Makefile

22 lines
685 B
Makefile

# $NetBSD: Makefile,v 1.36 2014/10/07 16:47:21 adam Exp $
DISTNAME= pysqlite-2.6.3
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/pysqlite/sqlite2/}
PKGREVISION= 8
CATEGORIES= databases python
MASTER_SITES= http://pysqlite.googlecode.com/files/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://pysqlite.googlecode.com/
COMMENT= SQLite database adapter for Python
LICENSE= mit
PYTHON_VERSIONS_INCOMPATIBLE= 33 34 # not yet ported as of 2.6.3
.PHONY: do-postinstall-test
do-postinstall-test:
cd ${WRKDIR} && ${PYTHONBIN} -c "from pysqlite2 import test;test.test()"
.include "../../lang/python/distutils.mk"
.include "../../databases/sqlite3/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"