git: a060b7966058 - main - devel/py-pyyaml-ft: Convert to USE_PYTHON=pytest
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 13 Jun 2025 06:07:46 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=a060b7966058d346005f22fc0018bd73c70ce8d2
commit a060b7966058d346005f22fc0018bd73c70ce8d2
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-06-13 06:03:06 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-06-13 06:03:06 +0000
devel/py-pyyaml-ft: Convert to USE_PYTHON=pytest
---
devel/py-pyyaml-ft/Makefile | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/devel/py-pyyaml-ft/Makefile b/devel/py-pyyaml-ft/Makefile
index 357da442c5b8..fc1664872b53 100644
--- a/devel/py-pyyaml-ft/Makefile
+++ b/devel/py-pyyaml-ft/Makefile
@@ -18,7 +18,9 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLA
LIB_DEPENDS= libyaml.so:textproc/libyaml
USES= localbase python
-USE_PYTHON= autoplist concurrent cython pep517
+USE_PYTHON= autoplist concurrent cython pep517 pytest
+
+TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR}
post-install:
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +