1 | # -*- 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 | PortSystem 1.0 |
---|
4 | PortGroup python24 1.0 |
---|
5 | |
---|
6 | name py-workerpool |
---|
7 | version 0.9.2 |
---|
8 | revision 0 |
---|
9 | categories python |
---|
10 | maintainers gmail.com:ebgssth |
---|
11 | description Module for distributing jobs to a pool of worker \ |
---|
12 | threads. |
---|
13 | long_description Performing tasks in many threads made fun! \ |
---|
14 | \ |
---|
15 | This module facilitates distributing simple \ |
---|
16 | operations into jobs that are sent to worker \ |
---|
17 | threads, maintained by a pool object. \ |
---|
18 | \ |
---|
19 | It consists of these components:\ |
---|
20 | \ |
---|
21 | 1. Jobs, which are single units of work that need \ |
---|
22 | to be performed. \ |
---|
23 | 2. Workers, who grab jobs from a queue and perform \ |
---|
24 | them. \ |
---|
25 | 3. Worker pool, which keeps track of workers and \ |
---|
26 | the job queue. |
---|
27 | |
---|
28 | homepage http://code.google.com/p/workerpool/ |
---|
29 | platforms darwin |
---|
30 | master_sites http://workerpool.googlecode.com/files/ \ |
---|
31 | http://pypi.python.org/packages/source/w/workerpool/ |
---|
32 | distname workerpool-${version} |
---|
33 | checksums md5 42904070f1a58f2a7b7276b22134375b \ |
---|
34 | sha1 34da871db2615a474f8332e2aa33285a2d808bb7 \ |
---|
35 | rmd160 e7565d81be215d0c728ef7306efa3ebea0fafebd |
---|
36 | |
---|
37 | post-destroot { |
---|
38 | xinstall -m 644 -W ${worksrcpath} CHANGES LICENSE README \ |
---|
39 | ${destroot}${prefix}/share/doc/${name} |
---|
40 | eval copy [glob ${worksrcpath}/samples/*] \ |
---|
41 | ${destroot}${prefix}/share/doc/${name}/examples |
---|
42 | } |
---|
43 | |
---|