git: 0bec57ccb744 - main - devel/py-pluggy0: Convert to USE_PYTHON=pytest4
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 09 Jun 2022 11:03:54 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=0bec57ccb7440c01c12bc257886c711c637ddd80
commit 0bec57ccb7440c01c12bc257886c711c637ddd80
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-06-09 10:58:24 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-06-09 10:58:24 +0000
devel/py-pluggy0: Convert to USE_PYTHON=pytest4
---
devel/py-pluggy0/Makefile | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/devel/py-pluggy0/Makefile b/devel/py-pluggy0/Makefile
index 4734b6879c95..9e99137b5add 100644
--- a/devel/py-pluggy0/Makefile
+++ b/devel/py-pluggy0/Makefile
@@ -14,12 +14,12 @@ LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR}
-TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0,1:devel/py-pytest@${PY_FLAVOR}
USES= python:3.6+
-USE_PYTHON= autoplist concurrent distutils
+USE_PYTHON= autoplist concurrent distutils pytest4
NO_ARCH= yes
+TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR}
PORTSCOUT= limit:^0\.
@@ -29,7 +29,4 @@ PORTSCOUT= limit:^0\.
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=0.12:devel/py-importlib-metadata@${PY_FLAVOR}
.endif
-do-test:
- cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -rs -v
-
.include <bsd.port.post.mk>