Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@89379 d073be05-634f-4543-b044-5fe20cf6d1d6
- Loading branch information
Showing
1 changed file
with
46 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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}" |