git: 5e6636bf1c07 - main - textproc/py-elasticsearch: restore tests

From: Dmitry Marakasov <amdmi3_at_FreeBSD.org>
Date: Fri, 13 May 2022 18:56:09 UTC
The branch main has been updated by amdmi3:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5e6636bf1c073420be89ab113a0f6683c1119723

commit 5e6636bf1c073420be89ab113a0f6683c1119723
Author:     Dmitry Marakasov <amdmi3@FreeBSD.org>
AuthorDate: 2022-05-12 14:20:34 +0000
Commit:     Dmitry Marakasov <amdmi3@FreeBSD.org>
CommitDate: 2022-05-13 18:52:10 +0000

    textproc/py-elasticsearch: restore tests
    
    Test target was erroneously removed along with adding incorrect
    USE_PYTHON=nose
    
    Approved by:    portmgr blanket
---
 textproc/py-elasticsearch/Makefile | 3 +++
 1 file changed, 3 insertions(+)

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>