pkgsrc-WIP-changes archive

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

py-csp: Set PYTHONPATH in test target



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Sun Sep 25 01:30:24 2016 +0200
Changeset:	b5deb6b812ade045c30d38ed84562bf7f7382178

Modified Files:
	py-csp/Makefile

Log Message:
py-csp: Set PYTHONPATH in test target

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=b5deb6b812ade045c30d38ed84562bf7f7382178

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 py-csp/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diffs:
diff --git a/py-csp/Makefile b/py-csp/Makefile
index 21855dd..deeb4ff 100644
--- a/py-csp/Makefile
+++ b/py-csp/Makefile
@@ -28,6 +28,8 @@ post-install:
 
 do-test:
 	${RUN} cd ${WRKSRC}/test && \
+		${SETENV} ${TEST_ENV} \
+		PYTHONPATH=${DESTDIR}${PREFIX}/${PYSITELIB} \
 		./runtests.sh
 
 DEPENDS+=	${PYPKGPREFIX}-Pyro4-[0-9]*:../../devel/py-Pyro


Home | Main Index | Thread Index | Old Index