git: 81cf455794ed - main - archivers/py-lz4: Convert to USE_PYTHON=pytest
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 21 Jun 2022 16:37:53 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=81cf455794ed5cc5fc4b0cab4fd1e93620e11d0b commit 81cf455794ed5cc5fc4b0cab4fd1e93620e11d0b Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2022-06-21 16:33:37 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2022-06-21 16:36:27 +0000 archivers/py-lz4: Convert to USE_PYTHON=pytest --- archivers/py-lz4/Makefile | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/archivers/py-lz4/Makefile b/archivers/py-lz4/Makefile index 7ab382b6b221..a33d55c7a8c1 100644 --- a/archivers/py-lz4/Makefile +++ b/archivers/py-lz4/Makefile @@ -14,18 +14,14 @@ BUILD_DEPENDS= liblz4>=1.7.5:archivers/liblz4 \ ${PYTHON_PKGNAMEPREFIX}pkgconfig>=0:devel/py-pkgconfig@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@${PY_FLAVOR} LIB_DEPENDS= liblz4.so:archivers/liblz4 -TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}psutil>=0:sysutils/py-psutil@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}psutil>=0:sysutils/py-psutil@${PY_FLAVOR} USES= python:3.6+ -USE_PYTHON= distutils +USE_PYTHON= distutils pytest post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/${PORTNAME}/_version*.so \ ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/${PORTNAME}/block/_block*.so \ ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/${PORTNAME}/frame/_frame*.so -do-test: - cd ${WRKSRC} && ${PYTHON_CMD} -m pytest - .include <bsd.port.mk>