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

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

py-socketpool: new port

  • 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 89379 2012-01-27 14:13:52Z stromnov@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                py-socketpool
8version             0.2.3
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  291614abc69c759031edbfac860f9774582a29fc \
29                    sha256  ee19728d1eec976d952b73929d300337779e5035eb80bd4c3452893dea1a4362
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.