Change PYTHONPATH to STAGEDIR

This commit is contained in:
Sunpoet Po-Chuan Hsieh 2020-06-26 08:43:35 +00:00
parent d9082a2dbf
commit 2791110a91
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=540438

View file

@ -24,6 +24,6 @@ USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
do-test:
cd ${WRKSRC} && ${SETENV} PYTHONPATH=${WRKSRC}/build/lib ${PYTHON_CMD} -m pytest -rs -v
cd ${WRKSRC} && ${SETENV} PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR} ${PYTHON_CMD} -m pytest -rs -v
.include <bsd.port.mk>