git: 0b1e347b9994 - main - security/py-argon2-cffi-bindings: Convert to USE_PYTHON=pytest
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 09 Jun 2022 11:04:23 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=0b1e347b9994a4db88e20d016950a182302be101
commit 0b1e347b9994a4db88e20d016950a182302be101
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-06-09 10:59:21 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-06-09 10:59:21 +0000
security/py-argon2-cffi-bindings: Convert to USE_PYTHON=pytest
---
security/py-argon2-cffi-bindings/Makefile | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/security/py-argon2-cffi-bindings/Makefile b/security/py-argon2-cffi-bindings/Makefile
index 97f9eab6f125..3f3603f0d111 100644
--- a/security/py-argon2-cffi-bindings/Makefile
+++ b/security/py-argon2-cffi-bindings/Makefile
@@ -16,12 +16,12 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.0.1:devel/py-cffi@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}setuptools_scm>=6.2:devel/py-setuptools_scm@${PY_FLAVOR}
LIB_DEPENDS= libargon2.so:security/libargon2
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.0.1:devel/py-cffi@${PY_FLAVOR}
-TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0,1:devel/py-pytest@${PY_FLAVOR}
USES= localbase python:3.6+
-USE_PYTHON= autoplist concurrent distutils
+USE_PYTHON= autoplist concurrent distutils pytest
MAKE_ENV= ARGON2_CFFI_USE_SYSTEM=1
+TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR}
post-patch:
# Clean up bundled libraries
@@ -30,7 +30,4 @@ post-patch:
post-install:
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
-do-test:
- cd ${WRKSRC} && ${SETENV} PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR} ${PYTHON_CMD} -m pytest -rs -v
-
.include <bsd.port.mk>