mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-06 06:30:19 +00:00
37 lines
877 B
Makefile
37 lines
877 B
Makefile
PORTNAME= tornado
|
|
PORTVERSION= 4.5.3
|
|
PORTREVISION= 1
|
|
CATEGORIES= www python
|
|
MASTER_SITES= PYPI
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
PKGNAMESUFFIX= 4
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= Python Web Server from FriendFeed
|
|
WWW= https://www.tornadoweb.org/
|
|
|
|
LICENSE= APACHE20
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
|
|
|
|
USES= cpe python
|
|
USE_PYTHON= autoplist concurrent pep517
|
|
|
|
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}tornado \
|
|
${PYTHON_PKGNAMEPREFIX}tornado5 \
|
|
${PYTHON_PKGNAMEPREFIX}tornado6
|
|
|
|
CPE_VENDOR= tornadoweb
|
|
|
|
PORTSCOUT= limit:^4\.
|
|
|
|
post-install:
|
|
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
|
|
|
|
do-test:
|
|
@cd ${WRKSRC} && ${PYTHON_CMD} -m tornado.test.runtests
|
|
|
|
.include <bsd.port.mk>
|