# -*- 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 64324 2010-03-02 12:23:26Z stromnov@macports.org $

PortSystem          1.0
PortGroup           python26 1.0

name                py26-gevent
version             0.12.2
maintainers         stromnov openmaintainer

description         Coroutine-based Python networking library.

long_description    gevent is a coroutine-based Python networking \
                    library that uses greenlet to provide a high-level \
                    synchronous API on top of libevent event loop.

platforms           darwin

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

checksums           md5     97c75039a67593d3f5375fb77f73bbe7 \
                    sha1    94e8d85d019abcbccaec630f8484896210d8f44d \
                    rmd160  b5c1a188d0fc76b2f175c1307a9dac6751fdfca8

depends_build       port:py26-greenlet \
                    port:libevent

build.args-append   -I${prefix}/include -L${prefix}/lib -1 --dynamic

livecheck.type      regex
livecheck.url       ${master_sites}
livecheck.regex     "gevent-(\\d+(?:\\.\\d+)*)"
