git: 1595b62d85e7 - main - devel/py-six: Convert to USE_PYTHON=pytest
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 21 Jun 2022 16:38:12 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=1595b62d85e70a3cfdba1696a402e0d79770a7c1
commit 1595b62d85e70a3cfdba1696a402e0d79770a7c1
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-06-21 16:33:48 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-06-21 16:36:31 +0000
devel/py-six: Convert to USE_PYTHON=pytest
- Add TEST_DEPENDS
---
devel/py-six/Makefile | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/devel/py-six/Makefile b/devel/py-six/Makefile
index 2b2a7f164d13..e6905563b513 100644
--- a/devel/py-six/Makefile
+++ b/devel/py-six/Makefile
@@ -12,14 +12,12 @@ COMMENT= Python 2 and 3 compatibility utilities
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gdbm>=0:databases/py-gdbm@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}tkinter>=0:x11-toolkits/py-tkinter@${PY_FLAVOR}
USES= python:2.7+
-USE_PYTHON= autoplist concurrent distutils
+USE_PYTHON= autoplist concurrent distutils pytest
NO_ARCH= yes
-do-test:
- @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -rs -v
-
.include <bsd.port.mk>