Files
ports/www/py-tornado5/Makefile
T
Sunpoet Po-Chuan Hsieh fd0fb693e4 Add py-tornado5 5.1.1 (copied from py-tornado)
- Add PORTSCOUT
2021-01-26 19:24:09 +00:00

32 lines
681 B
Makefile

# Created by: Guixing Bai <khsing.cn@gmail.com>
# $FreeBSD$
PORTNAME= tornado
PORTVERSION= 5.1.1
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
PKGNAMESUFFIX= 5
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Python Web Server from FriendFeed
LICENSE= APACHE20
USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
PORTSCOUT= limit:^5\.
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}tornado \
${PYTHON_PKGNAMEPREFIX}tornado4 \
${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>