What's new in Tornado 4.5.3 tornado.curl_httpclient - Improved debug logging on Python 3. tornado.httpserver - Content-Length and Transfer-Encoding headers are no longer sent with 1xx or 204 responses (this was already true of 304 responses). - Reading chunked requests no longer leaves the connection in a broken state. tornado.iostream - Writing a memoryview can no longer result in "BufferError: Existing exports of data: object cannot be re-sized". tornado.options - Duplicate option names are now detected properly whether they use hyphens or underscores. tornado.testing - .AsyncHTTPTestCase.fetch now uses 127.0.0.1 instead of localhost, improving compatibility with systems that have partially-working ipv6 stacks. tornado.web - It is no longer allowed to send a body with 1xx or 204 responses. tornado.websocket - Requests with invalid websocket headers now get a response with status code 400 instead of a closed connection.
38 lines
1.2 KiB
Makefile
38 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.25 2018/01/11 07:32:05 adam Exp $
|
|
|
|
DISTNAME= tornado-4.5.3
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= www python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=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"
|
|
|
|
PLIST_VARS+= requires
|
|
.if "${PYPKGPREFIX}" == "py27"
|
|
DEPENDS+= ${PYPKGPREFIX}-backports.ssl_match_hostname-[0-9]*:../../security/py-backports.ssl_match_hostname
|
|
DEPENDS+= ${PYPKGPREFIX}-certifi-[0-9]*:../../security/py-certifi
|
|
DEPENDS+= ${PYPKGPREFIX}-singledispatch>0:../../devel/py-singledispatch
|
|
.endif
|
|
.if "${PYPKGPREFIX}" == "py27" || "${PYPKGPREFIX}" == "py34"
|
|
DEPENDS+= ${PYPKGPREFIX}-backports_abc>=0.4:../../devel/py-backports_abc
|
|
PLIST.requires= yes
|
|
.endif
|
|
|
|
.include "../../lang/python/application.mk"
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|