pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/py-sqlite2 add a "test" target again



details:   https://anonhg.NetBSD.org/pkgsrc/rev/80cac57003e9
branches:  trunk
changeset: 523706:80cac57003e9
user:      drochner <drochner%pkgsrc.org@localhost>
date:      Thu Jan 11 19:03:37 2007 +0000

description:
add a "test" target again

diffstat:

 databases/py-sqlite2/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 515c9560e939 -r 80cac57003e9 databases/py-sqlite2/Makefile
--- a/databases/py-sqlite2/Makefile     Thu Jan 11 19:03:05 2007 +0000
+++ b/databases/py-sqlite2/Makefile     Thu Jan 11 19:03:37 2007 +0000
@@ -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 @@
 
 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"



Home | Main Index | Thread Index | Old Index