git: 78b6e5f43bec - main - devel/py-python-magic: Convert to USE_PYTHON=pytest
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 03 Jun 2022 17:01:42 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=78b6e5f43bec39ea965d8772cb619a34fdb402fe commit 78b6e5f43bec39ea965d8772cb619a34fdb402fe Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2022-06-03 16:57:21 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2022-06-03 16:57:21 +0000 devel/py-python-magic: Convert to USE_PYTHON=pytest --- devel/py-python-magic/Makefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/devel/py-python-magic/Makefile b/devel/py-python-magic/Makefile index 19d13c922605..87cc64277f0b 100644 --- a/devel/py-python-magic/Makefile +++ b/devel/py-python-magic/Makefile @@ -12,14 +12,12 @@ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= python:3.6+ -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent distutils pytest NO_ARCH= yes +TEST_ENV= LC_ALL=en_US.UTF-8 PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR} USE_GITHUB= yes GH_ACCOUNT= ahupp -do-test: - cd ${WRKSRC} && ${SETENV} LC_ALL=en_US.UTF-8 PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR} ${PYTHON_CMD} -m unittest -v - .include <bsd.port.mk>