Date: Wed, 20 Apr 2022 12:33:07 GMT From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 1958373e537f - main - ftp/py-aioftp: switch to USES=pytest Message-ID: <202204201233.23KCX7ak063781@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by amdmi3: URL: https://cgit.FreeBSD.org/ports/commit/?id=1958373e537fc27e5bc2fa63c3a9c76e74f0ea4c commit 1958373e537fc27e5bc2fa63c3a9c76e74f0ea4c Author: Dmitry Marakasov <amdmi3@FreeBSD.org> AuthorDate: 2022-04-20 11:07:20 +0000 Commit: Dmitry Marakasov <amdmi3@FreeBSD.org> CommitDate: 2022-04-20 12:32:13 +0000 ftp/py-aioftp: switch to USES=pytest Switch to USES=pytest and ignore test which fails [1] on FreeBSD Reported by: reprise [1] --- ftp/py-aioftp/Makefile | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/ftp/py-aioftp/Makefile b/ftp/py-aioftp/Makefile index eab99f5d0968..3c0c29ed9430 100644 --- a/ftp/py-aioftp/Makefile +++ b/ftp/py-aioftp/Makefile @@ -10,19 +10,17 @@ COMMENT= FTP client/server for asyncio LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/license.txt -TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pytest-asyncio>=0:devel/py-pytest-asyncio@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pytest-cov>=0:devel/py-pytest-cov@${PY_FLAVOR} \ +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest4-asyncio>=0:devel/py-pytest4-asyncio@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest4-cov>=0:devel/py-pytest4-cov@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}trustme>=0:security/py-trustme@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}async_timeout>0:devel/py-async_timeout@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}siosocks>0:net/py-siosocks@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}idna>0:dns/py-idna@${PY_FLAVOR} -USES= python:3.7+ +USES= python:3.7+ pytest:4 USE_PYTHON= autoplist distutils NO_ARCH= yes - -do-test: - @cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -rs +# https://github.com/aio-libs/aioftp/issues/152 +PYTEST_IGNORED_TESTS= test_pasv_connection_pasv_forced_response_address .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202204201233.23KCX7ak063781>