openbsd-ports/databases/py-sqlite/Makefile

34 lines
692 B
Makefile
Raw Normal View History

2011-11-04 04:16:23 -04:00
# $OpenBSD: Makefile,v 1.20 2011/11/04 08:16:24 jasper Exp $
SHARED_ONLY= Yes
COMMENT= SQLite adapter for Python
2004-10-16 04:19:54 -04:00
VERSION= 1.0
DISTNAME= pysqlite-${VERSION}
PKGNAME= py-sqlite-${VERSION}
2011-11-04 04:16:23 -04:00
REVISION = 7
CATEGORIES= databases
WRKDIST= ${WRKDIR}/pysqlite
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pysqlite/}
2006-07-19 09:41:02 -04:00
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
2011-11-04 04:16:23 -04:00
WANTLIB += sqlite>=8.6 ${MODPY_WANTLIB}
2004-08-04 15:46:14 -04:00
MODULES= lang/python
do-regress: fake
@cd ${WRKSRC}/test && ${SETENV} PYTHONPATH=${WRKINST}${MODPY_SITEPKG} \
${MODPY_BIN} ./all_tests.py
.include <bsd.port.mk>