blob: 973e1a77380ea091f41bbbee0ce89c50a28167be [file] [log] [blame]
Alexander Afanasyev65d18622012-09-24 13:40:48 -07001# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
2# $Id$
3
4PortSystem 1.0
5PortGroup python 1.0
6
7name py-workerpool
8version 0.9.2
Alexander Afanasyevbed10cc2013-07-27 18:52:46 -07009revision 1
Alexander Afanasyev65d18622012-09-24 13:40:48 -070010categories python
11maintainers akitada
12python.versions 24 25 26 27
13python.default_version 27
14description Module for distributing jobs to a pool of worker \
15 threads.
16long_description Performing tasks in many threads made fun! \
17 \
18 This module facilitates distributing simple \
19 operations into jobs that are sent to worker \
20 threads, maintained by a pool object. \
21 \
22 It consists of these components:\
23 \
24 1. Jobs, which are single units of work that need \
25 to be performed. \
26 2. Workers, who grab jobs from a queue and perform \
27 them. \
28 3. Worker pool, which keeps track of workers and \
29 the job queue.
30
31homepage http://code.google.com/p/workerpool/
32platforms darwin
33master_sites http://workerpool.googlecode.com/files/ \
34 http://pypi.python.org/packages/source/w/workerpool/
35distname workerpool-${version}
36checksums md5 42904070f1a58f2a7b7276b22134375b \
37 sha1 34da871db2615a474f8332e2aa33285a2d808bb7 \
38 rmd160 e7565d81be215d0c728ef7306efa3ebea0fafebd
39
40if {$subport != $name} {
Alexander Afanasyevbed10cc2013-07-27 18:52:46 -070041 depends_build-append port:py${python.version}-setuptools
Alexander Afanasyev65d18622012-09-24 13:40:48 -070042
43 post-destroot {
44 xinstall -W ${worksrcpath} -m 644 CHANGES LICENSE README \
45 ${destroot}${prefix}/share/doc/${subport}
46 eval copy [glob ${worksrcpath}/samples/*] \
47 ${destroot}${prefix}/share/doc/${subport}/examples
48 }
49}