openbsd-ports/databases/py-sqlite/Makefile
2011-06-08 17:31:05 +00:00

34 lines
675 B
Makefile

# $OpenBSD: Makefile,v 1.18 2011/06/08 17:33:59 jasper Exp $
SHARED_ONLY= Yes
COMMENT= SQLite adapter for Python
VERSION= 1.0
DISTNAME= pysqlite-${VERSION}
PKGNAME= py-sqlite-${VERSION}
REVISION = 5
CATEGORIES= databases
WRKDIST= ${WRKDIR}/pysqlite
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pysqlite/}
HOMEPAGE= http://pysqlite.org/
# BSD-like
PERMIT_PACKAGE_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
LIB_DEPENDS = databases/sqlite
WANTLIB += sqlite>=8.6
MODULES= lang/python
do-regress: fake
@cd ${WRKSRC}/test && ${SETENV} PYTHONPATH=${WRKINST}${MODPY_SITEPKG} \
${MODPY_BIN} ./all_tests.py
.include <bsd.port.mk>