# $Id: Portfile 107053 2013-06-16 21:35:46Z jmr@macports.org $

PortSystem        1.0
PortGroup         python 1.0

name              py-orbited
version           0.7.10
license           MIT
platforms         darwin
supported_archs   noarch
maintainers       nomaintainer

description       Orbited provides a pure JavaScript/HTML socket in the browser.
long_description  Orbited provides a pure JavaScript/HTML socket in the \
                  browser. It is a web router and firewall that allows you to \
                  integrate web applications with arbitrary back-end systems. \
                  You can implement any network protocol in the \
                  browser—without resorting to plugins.

homepage          http://orbited.org/
master_sites      http://pypi.python.org/packages/source/o/orbited/
distname          orbited-${version}

checksums         md5     4f4e85d197466c141b1af466782445c1 \
                  sha1    822b91fe9a3332ae30d2e7f572e4b63df28d98c5 \
                  rmd160  b3b7f4e521d6035036e70c193322eaaa03007b07

python.versions   25

if {$subport != $name} {
    depends_build      port:py${python.version}-setuptools
    depends_lib-append port:py${python.version}-morbid \
                       port:py${python.version}-demjson
    livecheck.type    none
} else {
    livecheck.type    regex
    livecheck.url     http://pypi.python.org/pypi/orbited/
    livecheck.regex   {orbited (\d+(?:\.\d+)*)}
}
