1 | # -*- 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 |
---|
2 | # $Id: Portfile 78321 2011-05-03 08:21:35Z stromnov@macports.org $ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup python 1.0 |
---|
6 | |
---|
7 | name py-gevent |
---|
8 | version 0.13.6 |
---|
9 | maintainers stromnov openmaintainer |
---|
10 | python.versions 24 25 26 27 |
---|
11 | python.default_version 24 |
---|
12 | |
---|
13 | description Coroutine-based Python networking library. |
---|
14 | |
---|
15 | long_description gevent is a coroutine-based Python networking \ |
---|
16 | library that uses greenlet to provide a high-level \ |
---|
17 | synchronous API on top of libevent event loop. |
---|
18 | |
---|
19 | platforms darwin |
---|
20 | |
---|
21 | homepage http://gevent.org |
---|
22 | master_sites http://pypi.python.org/packages/source/g/gevent/ |
---|
23 | distname gevent-${version} |
---|
24 | |
---|
25 | checksums rmd160 989119ae9e69871c56a717149183892f321fd7df \ |
---|
26 | sha256 eb85f7cd39e097b893b8f262ea8b0370a9d478b2083fc15b394a1a3cae7b7d99 |
---|
27 | |
---|
28 | depends_build port:libevent |
---|
29 | if {$name != $subport} { |
---|
30 | depends_lib port:py${python.version}-greenlet |
---|
31 | } |
---|
32 | |
---|
33 | build.args-append -I${prefix}/include -L${prefix}/lib |
---|
34 | |
---|
35 | livecheck.type regex |
---|
36 | livecheck.url ${master_sites} |
---|
37 | livecheck.regex "gevent-(\\d+(?:\\.\\d+)*)" |
---|