git: 055f09b01498 - main - databases/py-redis: Convert to USE_PYTHON=pytest
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 03 Jun 2022 17:01:32 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=055f09b01498ac56fa3ca6c4b436cf5308aa1ad0
commit 055f09b01498ac56fa3ca6c4b436cf5308aa1ad0
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-06-03 16:57:16 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-06-03 16:57:16 +0000
databases/py-redis: Convert to USE_PYTHON=pytest
---
databases/py-redis/Makefile | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/databases/py-redis/Makefile b/databases/py-redis/Makefile
index 89304f9863d9..1ea6aeb2a037 100644
--- a/databases/py-redis/Makefile
+++ b/databases/py-redis/Makefile
@@ -14,11 +14,10 @@ LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}pytest>=0,1:devel/py-pytest@${PY_FLAVOR} \
redis-server:databases/redis
USES= python:3.6+
-USE_PYTHON= distutils autoplist concurrent
+USE_PYTHON= distutils autoplist concurrent pytest
NO_ARCH= yes
@@ -35,7 +34,4 @@ HIREDIS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hiredis>=0.1.3:databases/py-hiredis@
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=1.0:devel/py-importlib-metadata@${PY_FLAVOR}
.endif
-do-test:
- cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -rs -v
-
.include <bsd.port.post.mk>