Ticket #14599: Portfile

File Portfile, 1.8 KB (added by ebgssth@…, 17 years ago)

py-workerpool.Portfile

Line 
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$
3PortSystem          1.0
4PortGroup           python24 1.0
5
6name                py-workerpool
7version             0.9.2
8revision            0
9categories          python
10maintainers         gmail.com:ebgssth
11description         Module for distributing jobs to a pool of worker \
12                    threads.
13long_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
28homepage            http://code.google.com/p/workerpool/
29platforms           darwin
30master_sites        http://workerpool.googlecode.com/files/ \
31                    http://pypi.python.org/packages/source/w/workerpool/
32distname            workerpool-${version}
33checksums           md5 42904070f1a58f2a7b7276b22134375b \
34                    sha1 34da871db2615a474f8332e2aa33285a2d808bb7 \
35                    rmd160 e7565d81be215d0c728ef7306efa3ebea0fafebd
36
37post-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