summaryrefslogtreecommitdiff
path: root/textproc/py-elementpath
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2022-04-26 15:07:11 +0300
committerDmitry Marakasov <amdmi3@FreeBSD.org>2022-04-26 16:43:09 +0300
commit162683b3a3e9b4d5b6b697dc5152012e61cf5726 (patch)
treed1358f91569d58cfc056af4b240963e2744bd254 /textproc/py-elementpath
parenttextproc/py-elasticsearch: fix tests by adding missing test-depend (diff)
textproc/py-elementpath: switch to USES=pytest, document failing test
Reported by: reprise Approved by: portmgr blanket
Diffstat (limited to 'textproc/py-elementpath')
-rw-r--r--textproc/py-elementpath/Makefile7
1 files 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>