svn commit: r567137 - head/devel/py-azure-core

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Wed Mar 3 18:08:51 UTC 2021


Author: sunpoet
Date: Wed Mar  3 18:08:47 2021
New Revision: 567137
URL: https://svnweb.freebsd.org/changeset/ports/567137

Log:
  Convert to test framework

Modified:
  head/devel/py-azure-core/Makefile

Modified: head/devel/py-azure-core/Makefile
==============================================================================
--- head/devel/py-azure-core/Makefile	Wed Mar  3 18:08:43 2021	(r567136)
+++ head/devel/py-azure-core/Makefile	Wed Mar  3 18:08:47 2021	(r567137)
@@ -14,10 +14,18 @@ LICENSE=	MIT
 
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}requests>=2.18.4:www/py-requests@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}six>=1.11.0:devel/py-six@${PY_FLAVOR}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}aiohttp>=0:www/py-aiohttp@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}msrest>=0:net-mgmt/py-msrest@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}trio>=0:net/py-trio@${PY_FLAVOR}
 
 USES=		python:3.6+ zip
 USE_PYTHON=	autoplist concurrent distutils
 
 NO_ARCH=	yes
+
+do-test:
+	cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -rs -v
 
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list