source: trunk/dports/python/py-socketpool/Portfile @ 89726

Last change on this file since 89726 was 89726, checked in by stromnov@…, 9 years ago

py-socketpool: update to version 0.3.0

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
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 89726 2012-02-08 10:16:10Z stromnov@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                py-socketpool
8version             0.3.0
9revision            0
10categories-append   devel
11license             MIT
12platforms           darwin
13supported_archs     noarch
14
15maintainers         stromnov openmaintainer
16
17description         Socketpool - a simple Python socket pool.
18
19long_description    Socket pool is a simple socket pool that suports \
20                    multiple factories and backends. It can easily be \
21                    used by gevent, eventlet or any other library.
22
23homepage            http://github.com/benoitc/socketpool
24master_sites        http://pypi.python.org/packages/source/s/socketpool/
25
26distname            socketpool-${version}
27
28checksums           rmd160  a54cc45d55f669a3dde076ff10e0c86b7619a2e6 \
29                    sha256  676aa7aa7b7b3e840fa61bcda5864c7bcd781c6e94ccc3e09b6bd8698f015320
30
31python.default_version  27
32python.versions     26 27
33
34if {$subport != $name} {
35    depends_build-append    port:py${python.version}-distribute
36
37    post-destroot {
38        xinstall -d ${destroot}${python.prefix}/share/doc/
39        move ${destroot}${python.prefix}/socketpool ${destroot}${python.prefix}/share/doc/socketpool
40        file copy ${worksrcpath}/examples/ ${destroot}${python.prefix}/share/doc/socketpool
41    }
42}
43
44livecheck.type      regex
45livecheck.url       ${master_sites}
46livecheck.regex     "socketpool-(\\d+(?:\\.\\d+)*)${extract.suffix}"
Note: See TracBrowser for help on using the repository browser.