# Created by: Guixing Bai # $FreeBSD$ PORTNAME= tornado PORTVERSION= 4.3 CATEGORIES= www python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= gblach@FreeBSD.org COMMENT= Python Web Server from FriendFeed LICENSE= APACHE20 RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}certifi>0:${PORTSDIR}/security/py-certifi USES= python USE_PYTHON= autoplist distutils .include .if ${PYTHON_REL} < 3000 RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}futures>0:${PORTSDIR}/devel/py-futures .endif .if ${PYTHON_REL} < 3400 RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}singledispatch>0:${PORTSDIR}/devel/py-singledispatch .endif .if ${PYTHON_REL} < 3500 RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}backports_abc>=0.4:${PORTSDIR}/devel/py-backports_abc .endif post-build: @${FIND} ${WRKSRC}/build -name speedups.so -exec ${STRIP_CMD} {} \; regression-test: build @cd ${WRKSRC} && ${PYTHON_CMD} -m tornado.test.runtests .include