summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/py-poyo/Makefile7
1 files 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>