# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
# $Id: Portfile 114324 2013-12-05 08:44:51Z ryandesign@macports.org $

PortSystem          1.0
PortGroup           python 1.0

name                py-cherrypy3
version             3.2.0
categories-append   www
maintainers         akitada openmaintainer
license             BSD
supported_archs     noarch

description         Object-Oriented HTTP framework
long_description    CherryPy is a pythonic, object-oriented web \
                    development framework. CherryPy allows developers \
                    to build web applications in much the same way \
                    they would build any other object-oriented Python \
                    program. This usually results in smaller source \
                    code developed in less time.
platforms           darwin
homepage            http://www.cherrypy.org/
master_sites        http://download.cherrypy.org/cherrypy/${version}/
distname            CherryPy-${version}

checksums           sha1    fd05b4f975f848dc5f5116b8f504b9bd31e93969 \
                    rmd160  8cb2fda2acfc2a9ae84025f541a8d2d8776474cd

python.versions     24 25 26 27

if {${name} ne ${subport}} {
    conflicts           py${python.version}-cherrypy
    livecheck.type      none
} else {
    livecheck.type      regex
    livecheck.url       ${homepage}wiki/CherryPyDownload
    livecheck.regex     {cherrypy/([0-9.]+)/}
}
