Changeset View
Changeset View
Standalone View
Standalone View
head/www/py-tornado/Makefile
Show All 14 Lines | |||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}certifi>0:${PORTSDIR}/security/py-certifi | RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}certifi>0:${PORTSDIR}/security/py-certifi | ||||
USES= python | USES= python | ||||
USE_PYTHON= distutils autoplist | USE_PYTHON= distutils autoplist | ||||
.include <bsd.port.pre.mk> | .include <bsd.port.pre.mk> | ||||
.if ${PYTHON_REL} < 300 | .if ${PYTHON_REL} < 3000 | ||||
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}backports.ssl_match_hostname>0:${PORTSDIR}/security/py-backports.ssl_match_hostname \ | RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}backports.ssl_match_hostname>0:${PORTSDIR}/security/py-backports.ssl_match_hostname \ | ||||
${PYTHON_PKGNAMEPREFIX}futures>0:${PORTSDIR}/devel/py-futures | ${PYTHON_PKGNAMEPREFIX}futures>0:${PORTSDIR}/devel/py-futures | ||||
.endif | .endif | ||||
post-build: | post-build: | ||||
@${FIND} ${WRKSRC}/build -name speedups.so -exec ${STRIP_CMD} {} \; | @${FIND} ${WRKSRC}/build -name speedups.so -exec ${STRIP_CMD} {} \; | ||||
regression-test: build | regression-test: build | ||||
@cd ${WRKSRC} && ${PYTHON_CMD} -m tornado.test.runtests | @cd ${WRKSRC} && ${PYTHON_CMD} -m tornado.test.runtests | ||||
.include <bsd.port.post.mk> | .include <bsd.port.post.mk> |