# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id: Portfile 79797 2011-06-26 08:08:56Z stromnov@macports.org $

PortSystem          1.0
PortGroup           python27 1.0

name                py27-tornado
set real_name       tornado
version             2.0
categories-append   www
platforms           darwin
license             Apache 2.0

maintainers         nomaintainer

description         Scalable, non-blocking web server and related tools
long_description    \
    Tornado is an open source version of the scalable, non-blocking web server \
    and tools that power FriendFeed. The FriendFeed application is written \
    using a web framework that looks a bit like web.py or Google's webapp, \
    but with additional tools and optimizations to take advantage of the \
    underlying non-blocking infrastructure.

homepage            http://www.tornadoweb.org/
master_sites        http://github.com/downloads/facebook/tornado/
distname            ${real_name}-${version}

checksums           md5     26ae11d3292d12e3588b10d737009ec7 \
                    sha1    52ca8041e7bc9e71e6b3ad9728a8f110ff3c8853 \
                    rmd160  05fbc5ba0df6f63fa0b8566899beb87bd4b565ff

depends_lib-append  port:py27-curl

livecheck.type      regex
livecheck.url       ${homepage}
livecheck.regex     "${real_name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
