aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-06-21 16:34:01 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-06-21 16:36:32 +0000
commitdc30d3ad2766b5e333dee04aa328fcad4c95da10 (patch)
treebb45371f39d89685de43fac233d0e3f6425c1ce5
parent26f5c712738405743444fcf2aa5b02f5cf884252 (diff)
downloadports-dc30d3ad2766b5e333dee04aa328fcad4c95da10.tar.gz
ports-dc30d3ad2766b5e333dee04aa328fcad4c95da10.zip
security/py-acme: Convert to USE_PYTHON=pytest
-rw-r--r--security/py-acme/Makefile6
1 files changed, 1 insertions, 5 deletions
diff --git a/security/py-acme/Makefile b/security/py-acme/Makefile
index dfe26ed5e7f9..9f68f7e523a6 100644
--- a/security/py-acme/Makefile
+++ b/security/py-acme/Makefile
@@ -20,15 +20,11 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=1.2.3:security/py-cryptography
${PYTHON_PKGNAMEPREFIX}pytz>2019.3,1:devel/py-pytz@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}requests>=2.20.0:www/py-requests@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}requests-toolbelt>=0.3.0:www/py-requests-toolbelt@${PY_FLAVOR}
-TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR}
USES= python:3.7+
-USE_PYTHON= autoplist distutils
+USE_PYTHON= autoplist distutils pytest
NO_ARCH= yes
-do-test:
- @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest
-
.include "version.mk"
.include <bsd.port.mk>