# Created by: Po-Chuan Hsieh # $FreeBSD: head/devel/py-azure-core/Makefile 567661 2021-03-07 22:17:32Z sunpoet $ PORTNAME= azure-core PORTVERSION= 1.11.0 PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Microsoft Azure Core Library for Python 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 OPTIONS_DEFINE= ASYNC OPTIONS_DEFAULT=ASYNC ASYNC_DESC= Async transport support ASYNC_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aiohttp>=0:www/py-aiohttp@${PY_FLAVOR} do-test: cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -rs -v .include