git: 65de78bb2135 - main - devel/py-apscheduler: convert to USE_PYTHON=pytest
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 04 Jun 2022 00:38:32 UTC
The branch main has been updated by jbeich:
URL: https://cgit.FreeBSD.org/ports/commit/?id=65de78bb21359541eee15f9f045e2124b3cf4b60
commit 65de78bb21359541eee15f9f045e2124b3cf4b60
Author: Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-06-03 23:50:59 +0000
Commit: Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-06-04 00:34:49 +0000
devel/py-apscheduler: convert to USE_PYTHON=pytest
---
devel/py-apscheduler/Makefile | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/devel/py-apscheduler/Makefile b/devel/py-apscheduler/Makefile
index b8578e22e034..c9a354edd9d6 100644
--- a/devel/py-apscheduler/Makefile
+++ b/devel/py-apscheduler/Makefile
@@ -15,16 +15,12 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@$
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytz>0:devel/py-pytz@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}six>=1.4.0:devel/py-six@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}tzlocal>=1.2<3:devel/py-tzlocal@${PY_FLAVOR}
-TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}pytest-asyncio>0:devel/py-pytest-asyncio@${PY_FLAVOR} \
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-asyncio>0:devel/py-pytest-asyncio@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest-tornado>0:devel/py-pytest-tornado@${PY_FLAVOR}
NO_ARCH= yes
USES= python:3.6+
-USE_PYTHON= autoplist distutils
+USE_PYTHON= autoplist distutils pytest
TEST_ENV= ${MAKE_ENV} TZ=UTC
-do-test:
- @(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest)
-
.include <bsd.port.mk>