svn commit: r557942 - head/textproc/py-elasticsearch6

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Sun Dec 13 14:45:44 UTC 2020


Author: sunpoet
Date: Sun Dec 13 14:45:41 2020
New Revision: 557942
URL: https://svnweb.freebsd.org/changeset/ports/557942

Log:
  Convert to test framework
  
  - Fix TEST_DEPENDS

Modified:
  head/textproc/py-elasticsearch6/Makefile

Modified: head/textproc/py-elasticsearch6/Makefile
==============================================================================
--- head/textproc/py-elasticsearch6/Makefile	Sun Dec 13 14:44:05 2020	(r557941)
+++ head/textproc/py-elasticsearch6/Makefile	Sun Dec 13 14:45:41 2020	(r557942)
@@ -20,7 +20,7 @@ TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}coverage>=0:devel
 		${PYTHON_PKGNAMEPREFIX}nose>=0:devel/py-nose@${PY_FLAVOR} \
 		${PYNUMPY} \
 		${PYTHON_PKGNAMEPREFIX}pandas>=0,1:math/py-pandas@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}yaml>=0:textproc/py-yaml@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}yaml>=0:devel/py-yaml@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}requests>=2.0.0:www/py-requests@${PY_FLAVOR}
 
 USES=		python
@@ -33,5 +33,8 @@ OPTIONS_DEFAULT=REQUESTS
 REQUESTS_DESC=	Enable requests support
 
 REQUESTS_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}requests>=2.4.0:www/py-requests@${PY_FLAVOR}
+
+do-test:
+	cd ${WRKSRC} && ${PYTHON_CMD} -m nose -v
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list