summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2007-01-11 19:03:37 +0000
committerdrochner <drochner@pkgsrc.org>2007-01-11 19:03:37 +0000
commit4d0a440d830cc1eabe8f969ce283e9da05d111bf (patch)
tree9313b2001d9954ae0998472401e2080618c556c2 /databases
parent2a2fc806f4cf31a3150b8cded5f8c222ca3bc0ef (diff)
downloadpkgsrc-4d0a440d830cc1eabe8f969ce283e9da05d111bf.tar.gz
add a "test" target again
Diffstat (limited to 'databases')
-rw-r--r--databases/py-sqlite2/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/databases/py-sqlite2/Makefile b/databases/py-sqlite2/Makefile
index f8706f4591b..1b93ca649cb 100644
--- a/databases/py-sqlite2/Makefile
+++ b/databases/py-sqlite2/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2007/01/10 10:39:18 drochner Exp $
+# $NetBSD: Makefile,v 1.4 2007/01/11 19:03:37 drochner Exp $
DISTNAME= pysqlite-2.3.2
PKGNAME= ${PYPKGPREFIX}-sqlite2-2.3.2
@@ -11,6 +11,9 @@ COMMENT= SQLite database adapter for Python
PYDISTUTILSPKG= yes
+do-test:
+ ${PYTHONBIN} -c "from pysqlite2 import test;test.test()"
+
.include "../../databases/sqlite3/buildlink3.mk"
.include "../../lang/python/extension.mk"
.include "../../mk/bsd.pkg.mk"