git: 751d7288535c - main - textproc/py-chardet: Convert to USE_PYTHON=pytest
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 21 Jun 2022 16:38:22 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=751d7288535cd2e0f4c25db37018fc02917ad00c commit 751d7288535cd2e0f4c25db37018fc02917ad00c Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2022-06-21 16:34:10 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2022-06-21 16:36:33 +0000 textproc/py-chardet: Convert to USE_PYTHON=pytest --- textproc/py-chardet/Makefile | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/textproc/py-chardet/Makefile b/textproc/py-chardet/Makefile index e6939a900eca..ae670e207cc8 100644 --- a/textproc/py-chardet/Makefile +++ b/textproc/py-chardet/Makefile @@ -13,15 +13,11 @@ COMMENT= Universal encoding detector for Python LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/LICENSE -TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hypothesis>=0:devel/py-hypothesis@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hypothesis>=0:devel/py-hypothesis@${PY_FLAVOR} USES= python:3.6+ -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent distutils pytest NO_ARCH= yes -do-test: - cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -rs -v - .include <bsd.port.mk>