blob: 03770f3b414e730f4a93a08c5a1def468b3c798e (
plain)
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
28
29
30
31
|
# $NetBSD: Makefile,v 1.11 2015/04/14 11:40:32 wiz Exp $
DISTNAME= tornado-4.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= www
MASTER_SITES= http://pypi.python.org/packages/source/t/tornado/
MAINTAINER= imil@NetBSD.org
HOMEPAGE= http://www.tornadoweb.org/
COMMENT= Fast and non-blocking web framework
LICENSE= apache-2.0
DEPENDS+= ${PYPKGPREFIX}-curl>=7.18.2:../../www/py-curl
REPLACE_PYTHON+= setup.py
REPLACE_PYTHON+= tornado/*.py
REPLACE_PYTHON+= tornado/platform/*.py
REPLACE_PYTHON+= tornado/test/*.py
do-test:
${RUN}cd ${WRKSRC}; ${PYTHONBIN} -m tornado.test.runtests
.include "../../lang/python/pyversion.mk"
.if "${PYPKGPREFIX}" == "py27"
DEPENDS+= ${PYPKGPREFIX}-backports.ssl_match_hostname-[0-9]*:../../security/py-backports.ssl_match_hostname
.endif
.include "../../lang/python/egg.mk"
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"
|