git: 05e6670ad238 - main - devel/py-decorator: Convert to USE_PYTHON=unittest
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 18 May 2025 03:38:08 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=05e6670ad238b09c7d804b8e0857c7e0a26dba77 commit 05e6670ad238b09c7d804b8e0857c7e0a26dba77 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2025-05-18 03:17:46 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2025-05-18 03:34:34 +0000 devel/py-decorator: Convert to USE_PYTHON=unittest --- devel/py-decorator/Makefile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/devel/py-decorator/Makefile b/devel/py-decorator/Makefile index 9e129ca0d3ce..0a4edd55a583 100644 --- a/devel/py-decorator/Makefile +++ b/devel/py-decorator/Makefile @@ -15,13 +15,12 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLA ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} USES= cpe python -USE_PYTHON= autoplist concurrent pep517 +USE_PYTHON= autoplist concurrent pep517 unittest NO_ARCH= yes +TEST_ARGS= discover -s tests +TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR} CPE_VENDOR= python -do-test: - @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test - .include <bsd.port.mk>