git: 2cd8560639d0 - main - dns/py-py3dns: Convert to USE_PYTHON=pytest
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 03 Jun 2022 17:01:43 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=2cd8560639d0765ce77be72256c93f5615e1c115
commit 2cd8560639d0765ce77be72256c93f5615e1c115
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-06-03 16:57:21 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-06-03 16:57:21 +0000
dns/py-py3dns: Convert to USE_PYTHON=pytest
---
dns/py-py3dns/Makefile | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/dns/py-py3dns/Makefile b/dns/py-py3dns/Makefile
index 9664fec4317b..472c2b67fab1 100644
--- a/dns/py-py3dns/Makefile
+++ b/dns/py-py3dns/Makefile
@@ -14,14 +14,9 @@ LICENSE_NAME= CNRI LICENSE AGREEMENT
LICENSE_FILE= ${WRKSRC}/LICENSE
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
-TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR}
-
USES= python:3.3+
-USE_PYTHON= autoplist concurrent distutils
+USE_PYTHON= autoplist concurrent distutils pytest
NO_ARCH= yes
-do-test:
- cd ${WRKSRC}/ && ${PYTHON_CMD} -m pytest
-
.include <bsd.port.mk>