blob: b44610ddab187462694d7dd24e2c89b09fa6e287 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Created by: Guixing Bai <khsing.cn@gmail.com>
PORTNAME= tornado
PORTVERSION= 6.1
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Python Web Server from FriendFeed
LICENSE= APACHE20
USES= python:3.5+
USE_PYTHON= autoplist concurrent distutils
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}tornado4 \
${PYTHON_PKGNAMEPREFIX}tornado5 \
${PYTHON_PKGNAMEPREFIX}tornado6
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/tornado/speedups*.so
do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} -m tornado.test.runtests
.include <bsd.port.mk>
|