git: 683cef78e27e - main - devel/py-poyo: switch to USE_PYTHON=pytest
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 22 Mar 2023 12:08:15 UTC
The branch main has been updated by matthew:
URL: https://cgit.FreeBSD.org/ports/commit/?id=683cef78e27e14df6fe2e8d5f82cc02f5b43cda9
commit 683cef78e27e14df6fe2e8d5f82cc02f5b43cda9
Author: Matthew Seaman <matthew@FreeBSD.org>
AuthorDate: 2023-03-22 12:07:09 +0000
Commit: Matthew Seaman <matthew@FreeBSD.org>
CommitDate: 2023-03-22 12:07:09 +0000
devel/py-poyo: switch to USE_PYTHON=pytest
Fixes testing via `make test`
---
devel/py-poyo/Makefile | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/devel/py-poyo/Makefile b/devel/py-poyo/Makefile
index f17e0b30f0fe..f51faaa05ba9 100644
--- a/devel/py-poyo/Makefile
+++ b/devel/py-poyo/Makefile
@@ -14,11 +14,10 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flake8>0:devel/py-flake8@${PY_FLAVOR}
USES= python:3.6+
-USE_PYTHON= autoplist concurrent distutils
+USE_PYTHON= autoplist concurrent distutils pytest
-NO_ARCH= yes
+TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
-do-test:
- @cd ${WRKSRC} && ${LOCALBASE}/bin/pytest-${PYTHON_VER} tests
+NO_ARCH= yes
.include <bsd.port.mk>