Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 May 2022 18:56:09 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: 5e6636bf1c07 - main - textproc/py-elasticsearch: restore tests
Message-ID:  <202205131856.24DIu9uP050615@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=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>



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