Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Apr 2022 13:49:17 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: 3e2890c809c9 - main - devel/py-asttokens: switch to USES=pytest and document failing tests
Message-ID:  <202204261349.23QDnHxM027581@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=3e2890c809c943ceccee6f9ae655e68f9b7206d7

commit 3e2890c809c943ceccee6f9ae655e68f9b7206d7
Author:     Dmitry Marakasov <amdmi3@FreeBSD.org>
AuthorDate: 2022-04-26 13:42:05 +0000
Commit:     Dmitry Marakasov <amdmi3@FreeBSD.org>
CommitDate: 2022-04-26 13:48:51 +0000

    devel/py-asttokens: switch to USES=pytest and document failing tests
---
 devel/py-asttokens/Makefile | 15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)

diff --git a/devel/py-asttokens/Makefile b/devel/py-asttokens/Makefile
index a1c72a709a8c..3e3f0764eae2 100644
--- a/devel/py-asttokens/Makefile
+++ b/devel/py-asttokens/Makefile
@@ -12,14 +12,19 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}
-TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}astroid>0:devel/py-astroid@${PY_FLAVOR}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}astroid>0:devel/py-astroid@${PY_FLAVOR}
 
-USES=		python:3.6+
+USES=		python:3.6+ pytest
 USE_PYTHON=	autoplist distutils
+PYTEST_ARGS=	--ignore=tests/testdata
 NO_ARCH=	yes
 
-do-test:
-	@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
+PYTEST_BROKEN_TESTS=	test_async_def test_decorators test_fixture10 \
+			test_fixture11 test_fixture13 test_fixture3 \
+			test_fixture4 test_fixture5 test_fixture7 \
+			test_fixture8 test_fixture9 test_fstrings \
+			test_mark_tokens_simple test_print_function \
+			test_slices test_splat test_sys_modules \
+			test_tuples test_assignment_expressions
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202204261349.23QDnHxM027581>