pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/databases/py-sqlite2 The self test put testdb on curre...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3c2e2a99f55f
branches:  trunk
changeset: 547579:3c2e2a99f55f
user:      obache <obache%pkgsrc.org@localhost>
date:      Sun Sep 21 09:24:52 2008 +0000

description:
The self test put testdb on current directory, cd ${WRKDIR} first.

diffstat:

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

diffs (18 lines):

diff -r b954f7e1561e -r 3c2e2a99f55f databases/py-sqlite2/Makefile
--- a/databases/py-sqlite2/Makefile     Sun Sep 21 08:18:21 2008 +0000
+++ b/databases/py-sqlite2/Makefile     Sun Sep 21 09:24:52 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2008/09/10 12:40:58 wiz Exp $
+# $NetBSD: Makefile,v 1.17 2008/09/21 09:24:52 obache Exp $
 
 DISTNAME=      pysqlite-2.5.0
 PKGNAME=       ${PYPKGPREFIX}-sqlite2-2.5.0
@@ -27,7 +27,7 @@
 PLIST_VARS+=   python25
 
 do-postinstall-test: .PHONY
-       ${PYTHONBIN} -c "from pysqlite2 import test;test.test()"
+       cd ${WRKDIR} && ${PYTHONBIN} -c "from pysqlite2 import test;test.test()"
 
 .include "../../databases/sqlite3/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index