# -*- 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 91098 2012-03-23 20:28:41Z snc@macports.org $

PortSystem 1.0
PortGroup python 1.0

name                py-twisted-web2
version             8.1.0
python.versions     25 26 27
python.default_version 27
set branch [join [lrange [split $version .] 0 1] .]
categories          python devel net
platforms           darwin
maintainers         snc openmaintainer
license             MIT
description         Twisted.Web2 is the next generation Web Server \
                    Framework built with Twisted.
long_description    Twisted.Web2 is the next generation Web Server \
                    Framework built with Twisted. Web2 is under active \
                    development and it's APIs should not be considered \
                    stable at this point. It is not a version of \
                    Twisted.Web and with that in mind compatibility is \
                    not of the highest concern, though the compatibility \
                    layer does support many but not all twisted.web \
                    resources.
homepage            http://twistedmatrix.com/projects/web2/
master_sites        http://tmrc.mit.edu/mirror/twisted/Web2/${branch}

if {${subport} != ${name}} {
    distname            TwistedWeb2-${version}
    use_bzip2           yes
    checksums           rmd160  b77f70a62c93e13f51ab715ff6d1c379885a28bc \
                        sha256  0f016d498b1db0216861e9b8fbf8ad49b5b587fa64a18f1640095c1e4f93e391

    depends_build-append    port:py${python.version}-twisted
}

livecheck.type      none
