git: 5c8f5e95d439 - main - math/py-scs: Fix tests

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Mon, 24 Jun 2024 01:33:03 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5c8f5e95d439169737327695e03a3dc70cd9d338

commit 5c8f5e95d439169737327695e03a3dc70cd9d338
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-06-24 00:36:18 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-06-24 01:32:59 +0000

    math/py-scs: Fix tests
---
 math/py-scs/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/math/py-scs/Makefile b/math/py-scs/Makefile
index 3e91312d2fe9..d024b3c4a4c9 100644
--- a/math/py-scs/Makefile
+++ b/math/py-scs/Makefile
@@ -23,6 +23,7 @@ USE_PYTHON=	pep517 autoplist pytest # 2 tests fail, see https://github.com/cvxgr
 
 CONFIGURE_ENV=	BLAS_LAPACK_LIBS="openblas"
 MAKE_ENV=	${CONFIGURE_ENV}
+TEST_ENV=	${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
 
 post-install:
 	@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/_scs_*.so