openbsd-ports/databases/py-sqlite/Makefile

34 lines
716 B
Makefile

# $OpenBSD: Makefile,v 1.4 2004/07/12 00:00:34 djm Exp $
NOT_FOR_ARCHS= ${NO_SHARED_ARCHS}
COMMENT= "SQLite adapter for Python"
VERSION= 0.5.1
DISTNAME= pysqlite-${VERSION}
PKGNAME= py-sqlite-${VERSION}
CATEGORIES= databases
WRKDIST= ${WRKDIR}/pysqlite
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pysqlite/}
HOMEPAGE= http://pysqlite.sourceforge.net/
MAINTAINER= Damien Miller <djm@openbsd.org>
# BSD-like
PERMIT_PACKAGE_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
LIB_DEPENDS+= sqlite::databases/sqlite
MODULES= python
do-regress: fake
@cd ${WRKSRC}/test && ${SETENV} PYTHONPATH=${WRKINST}${MODPY_SITEPKG} \
${MODPY_BIN} ./all_tests.py
.include <bsd.port.mk>