summaryrefslogtreecommitdiff
path: root/databases/py-sqlite2/Makefile
blob: 54c4f26a59ece744b0108fa454c0c089f1158737 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# $NetBSD: Makefile,v 1.1.1.1 2006/03/14 20:17:59 drochner Exp $

DISTNAME=	pysqlite-2.0.7
PKGNAME=	${PYPKGPREFIX}-sqlite2-2.0.7
CATEGORIES=	databases python
MASTER_SITES=	http://initd.org/pub/software/pysqlite/releases/2.0/2.0.7/

MAINTAINER=	tsarna@NetBSD.org
HOMEPAGE=	http://initd.org/tracker/pysqlite
COMMENT=	SQLite database adapter for Python

PYDISTUTILSPKG=	yes
# XXX version specific setuptools, should add something to extension.mk
PYTHON_VERSIONS_ACCEPTED= 24
DEPENDS+=	${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py24-setuptools

TESTCMD=	from lib import test; \
		test.test()

do-test:
	cd ${WRKSRC} && ${PYTHONBIN} -c ${TESTCMD:Q}

.include "../../databases/sqlite3/buildlink3.mk"
.include "../../lang/python/extension.mk"
.include "../../time/py-mxDateTime/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"