summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authordrochner <drochner>2007-01-11 19:03:37 +0000
committerdrochner <drochner>2007-01-11 19:03:37 +0000
commit4569cf68c494e1a1e9948bd4cb42c1d1b60fc61f (patch)
tree9313b2001d9954ae0998472401e2080618c556c2 /databases
parent5ca42b2733e24159173d35faceb8796ec074c61b (diff)
downloadpkgsrc-4569cf68c494e1a1e9948bd4cb42c1d1b60fc61f.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"