summaryrefslogtreecommitdiff
path: root/textproc/py-elasticsearch
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2022-05-12 17:20:34 +0300
committerDmitry Marakasov <amdmi3@FreeBSD.org>2022-05-13 21:52:10 +0300
commit5e6636bf1c073420be89ab113a0f6683c1119723 (patch)
tree21118b6a8343b4d85ac221c8555fa466cddcc99e /textproc/py-elasticsearch
parentdevel/py-types-protobuf: update 3.19.19 → 3.19.20 (diff)
textproc/py-elasticsearch: restore tests
Test target was erroneously removed along with adding incorrect USE_PYTHON=nose Approved by: portmgr blanket
Diffstat (limited to 'textproc/py-elasticsearch')
-rw-r--r--textproc/py-elasticsearch/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/textproc/py-elasticsearch/Makefile b/textproc/py-elasticsearch/Makefile
index 8d23d464f107..f0b97d1abcdc 100644
--- a/textproc/py-elasticsearch/Makefile
+++ b/textproc/py-elasticsearch/Makefile
@@ -37,4 +37,7 @@ REQUESTS_DESC= Enable requests support
ASYNC_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aiohttp>=3<4:www/py-aiohttp@${PY_FLAVOR}
REQUESTS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>=2.4.0<3.0.0:www/py-requests@${PY_FLAVOR}
+do-test:
+ cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m nose -v
+
.include <bsd.port.mk>