Browse files

Update to 4.0. Add py-curl dependency for curl_httpclient.


    The tornado.web.stream_request_body decorator allows large
    files to be uploaded with limited memory usage.
    Coroutines are now faster and are used extensively throughout
    Tornado itself. More methods now return Futures, including most
    IOStream methods and RequestHandler.flush.
    Many user-overridden methods are now allowed to return a Future
    for flow control.
    HTTP-related code is now shared between the tornado.httpserver,
    tornado.simple_httpclient and tornado.wsgi modules, making
    support for features such as chunked and gzip encoding more
    consistent. HTTPServer now uses new delegate interfaces defined
    in tornado.httputil in addition to its old single-callback
    New module tornado.tcpclient creates TCP connections with
    non-blocking DNS, SSL handshaking, and support for IPv6.

Backwards-compatibility notes

    tornado.concurrent.Future is no longer thread-safe; use
    concurrent.futures.Future when thread-safety is needed.
    Tornado now depends on the certifi package instead of bundling
    its own copy of the Mozilla CA list. This will be installed
    automatically when using pip or easy_install.
    This version includes the changes to the secure cookie format
    first introduced in version 3.2.1, and the xsrf token change
    in version 3.2.2. If you are upgrading from an earlier version,
    see those versions' release notes.
    WebSocket connections from other origin sites are now rejected
    by default. To accept cross-origin websocket connections,
    override the new method WebSocketHandler.check_origin.
    WebSocketHandler no longer supports the old draft 76 protocol
    (this mainly affects Safari 5.x browsers). Applications should
    use non-websocket workarounds for these browsers.
    Authors of alternative IOLoop implementations should see the
    changes to IOLoop.add_handler in this release.
    The RequestHandler.async_callback and WebSocketHandler.async_callback
    wrapper functions have been removed; they have been obsolete
    for a long time due to stack contexts (and more recently
    curl_httpclient now requires a minimum of libcurl version 7.21.1
    and pycurl 7.18.2.
    Support for RequestHandler.get_error_html has been removed;
    override RequestHandler.write_error instead.
  • Loading branch information...
1 parent d923a18 commit 866a5d775b15d3f5514019667167eb751915095c wiz committed Jul 22, 2014
Showing with 22 additions and 9 deletions.
  1. +4 −2 www/py-tornado/Makefile
  2. +14 −3 www/py-tornado/PLIST
  3. +4 −4 www/py-tornado/distinfo
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.6 2014/06/09 12:33:43 wiz Exp $
+# $NetBSD: Makefile,v 1.7 2014/07/22 12:41:28 wiz Exp $
-DISTNAME= tornado-3.2.2
+DISTNAME= tornado-4.0
@@ -10,6 +10,8 @@ HOMEPAGE=
COMMENT= Fast and non-blocking web framework
LICENSE= apache-2.0
+DEPENDS+= ${PYPKGPREFIX}-curl>=7.18.2:../../www/py-curl
REPLACE_PYTHON+= tornado/*.py
REPLACE_PYTHON+= tornado/platform/*.py
@@ -1,8 +1,8 @@
-@comment $NetBSD: PLIST,v 1.3 2014/01/27 19:58:33 wiz Exp $
+@comment $NetBSD: PLIST,v 1.4 2014/07/22 12:41:28 wiz Exp $
@@ -13,7 +13,6 @@ ${PYSITELIB}/tornado/auth.pyo
@@ -26,6 +25,9 @@ ${PYSITELIB}/tornado/escape.pyo
@@ -99,6 +101,9 @@ ${PYSITELIB}/tornado/
@@ -109,6 +114,9 @@ ${PYSITELIB}/tornado/test/README
@@ -175,6 +183,9 @@ ${PYSITELIB}/tornado/test/stack_context_test.pyc
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.5 2014/06/09 12:33:43 wiz Exp $
+$NetBSD: distinfo,v 1.6 2014/07/22 12:41:28 wiz Exp $
-SHA1 (tornado-3.2.2.tar.gz) = ede9603adcceaf1b6085fd5a973cec50c7391888
-RMD160 (tornado-3.2.2.tar.gz) = d1cd5f74dd32a618deb0c3e55661692a1c47f0de
-Size (tornado-3.2.2.tar.gz) = 405596 bytes
+SHA1 (tornado-4.0.tar.gz) = 466e73db0d9e7a030f6933346e191637ae6ddd8a
+RMD160 (tornado-4.0.tar.gz) = 89dd21f39567d645456d727854be7060e95b7cd0
+Size (tornado-4.0.tar.gz) = 313742 bytes

0 comments on commit 866a5d7

Please sign in to comment.