git: 162683b3a3e9 - main - textproc/py-elementpath: switch to USES=pytest, document failing test

From: Dmitry Marakasov <amdmi3_at_FreeBSD.org>
Date: Tue, 26 Apr 2022 13:49:07 UTC
The branch main has been updated by amdmi3:

URL: https://cgit.FreeBSD.org/ports/commit/?id=162683b3a3e9b4d5b6b697dc5152012e61cf5726

commit 162683b3a3e9b4d5b6b697dc5152012e61cf5726
Author:     Dmitry Marakasov <amdmi3@FreeBSD.org>
AuthorDate: 2022-04-26 12:07:11 +0000
Commit:     Dmitry Marakasov <amdmi3@FreeBSD.org>
CommitDate: 2022-04-26 13:43:09 +0000

    textproc/py-elementpath: switch to USES=pytest, document failing test
    
    Reported by:    reprise
    Approved by:    portmgr blanket
---
 textproc/py-elementpath/Makefile | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/textproc/py-elementpath/Makefile b/textproc/py-elementpath/Makefile
index f737a8988a83..6fb8b054fff3 100644
--- a/textproc/py-elementpath/Makefile
+++ b/textproc/py-elementpath/Makefile
@@ -11,14 +11,13 @@ LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}lxml>=0:devel/py-lxml@${PY_FLAVOR}
-TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
 
-USES=		python:3.7+
+USES=		python:3.7+ pytest
 USE_PYTHON=	distutils concurrent autoplist
 
 NO_ARCH=	yes
 
-do-test:
-	@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest
+# https://github.com/sissaschool/elementpath/issues/41
+PYTEST_BROKEN_TESTS=	test_exp_math_function
 
 .include <bsd.port.mk>