git: 08ded99ea808 - main - textproc/py-tomlkit: Convert to USE_PYTHON=pytest
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 09 Jun 2022 11:04:29 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=08ded99ea8084a006a330ecbf6c12fc193493359
commit 08ded99ea8084a006a330ecbf6c12fc193493359
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-06-09 10:59:35 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-06-09 10:59:35 +0000
textproc/py-tomlkit: Convert to USE_PYTHON=pytest
---
textproc/py-tomlkit/Makefile | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/textproc/py-tomlkit/Makefile b/textproc/py-tomlkit/Makefile
index 8da5c58c41a5..73bc519b181b 100644
--- a/textproc/py-tomlkit/Makefile
+++ b/textproc/py-tomlkit/Makefile
@@ -12,18 +12,14 @@ COMMENT= Style-preserving TOML library
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}yaml>=0:devel/py-yaml@${PY_FLAVOR}
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}yaml>=0:devel/py-yaml@${PY_FLAVOR}
USES= python:3.6+
-USE_PYTHON= autoplist concurrent distutils
+USE_PYTHON= autoplist concurrent distutils pytest
NO_ARCH= yes
post-patch:
@${MV} ${WRKSRC}/tests ${WRKSRC}/tomlkit
-do-test:
- cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -rs -v
-
.include <bsd.port.mk>