# Created by: Kubilay Kocak # $FreeBSD$ PORTNAME= aiohttp PORTVERSION= 0.9.0 CATEGORIES= www python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= koobs@FreeBSD.org COMMENT= HTTP client/server for asyncio LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.txt TEST_DEPENDS:= ${RUN_DEPENDS} \ ${PYTHON_PKGNAMEPREFIX}nose>0:${PORTSDIR}/devel/py-nose \ ${PYTHON_PKGNAMEPREFIX}gunicorn>0:${PORTSDIR}/www/py-gunicorn \ ${PYTHON_PKGNAMEPREFIX}chardet>0:${PORTSDIR}/textproc/py-chardet OPTIONS_DEFINE= TESTS TESTS_DESC= Install tools for test suite TESTS_BUILD_DEPENDS= ${TEST_DEPENDS} USES= python:3.3+ USE_PYTHON= autoplist distutils .include .if ${PYTHON_REL} < 340 RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}asyncio>0:${PORTSDIR}/devel/py-asyncio .endif regression-test: build @cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test .include