Ticket #33651: Portfile

File Portfile, 1.3 KB (added by singingwolfboy@…, 13 years ago)
Line 
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
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                py-gevent
8version             0.13.6
9maintainers         stromnov openmaintainer
10python.versions     24 25 26 27
11python.default_version  24
12
13description         Coroutine-based Python networking library.
14
15long_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
19platforms           darwin
20
21homepage            http://gevent.org
22master_sites        http://pypi.python.org/packages/source/g/gevent/
23distname            gevent-${version}
24
25checksums           rmd160  989119ae9e69871c56a717149183892f321fd7df \
26                    sha256  eb85f7cd39e097b893b8f262ea8b0370a9d478b2083fc15b394a1a3cae7b7d99
27
28depends_build       port:libevent
29if {$name != $subport} {
30    depends_lib     port:py${python.version}-greenlet
31}
32
33build.args-append   -I${prefix}/include -L${prefix}/lib
34
35livecheck.type      regex
36livecheck.url       ${master_sites}
37livecheck.regex     "gevent-(\\d+(?:\\.\\d+)*)"