Skip to content
Permalink
Browse files

py-socketpool: new port

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@89379 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
stromnov committed Jan 27, 2012
1 parent 6913385 commit 5a497f6046365a4de5f8e7367d3a4234c9015abb
Showing with 46 additions and 0 deletions.
  1. +46 −0 python/py-socketpool/Portfile
@@ -0,0 +1,46 @@
# -*- 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$

PortSystem 1.0
PortGroup python 1.0

name py-socketpool
version 0.2.3
revision 0
categories-append devel
license MIT
platforms darwin
supported_archs noarch

maintainers stromnov openmaintainer

description Socketpool - a simple Python socket pool.

long_description Socket pool is a simple socket pool that suports \
multiple factories and backends. It can easily be \
used by gevent, eventlet or any other library.

homepage http://github.com/benoitc/socketpool
master_sites http://pypi.python.org/packages/source/s/socketpool/

distname socketpool-${version}

checksums rmd160 291614abc69c759031edbfac860f9774582a29fc \
sha256 ee19728d1eec976d952b73929d300337779e5035eb80bd4c3452893dea1a4362

python.default_version 27
python.versions 26 27

if {$subport != $name} {
depends_build-append port:py${python.version}-distribute

post-destroot {
xinstall -d ${destroot}${python.prefix}/share/doc/
move ${destroot}${python.prefix}/socketpool ${destroot}${python.prefix}/share/doc/socketpool
file copy ${worksrcpath}/examples/ ${destroot}${python.prefix}/share/doc/socketpool
}
}

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

0 comments on commit 5a497f6

Please sign in to comment.
You can’t perform that action at this time.