# -*- 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

PortSystem          1.0
PortGroup           python 1.0

name                py-tornado5
python.rootname     tornado
version             5.1.1
revision            0
categories-append   www
platforms           darwin
license             Apache-2

python.versions     37 38 39

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            https://www.tornadoweb.org/

checksums           rmd160  c5352ef0fe39e4877cab97f2ec7258d455158317 \
                    sha256  4e5158d97583502a7e2739951553cbd88a72076f152b4b11b64b9a10c4c49409 \
                    size    516819

if {${name} ne ${subport}} {
    depends_build-append \
                        port:py${python.version}-setuptools

    conflicts           py${python.version}-tornado

    livecheck.type      none
} else {
    livecheck.regex     ${python.rootname}-(5\\.\\d+\.\\d+)${extract.suffix}
}
