Changeset 98894


Ignore:
Timestamp:
Oct 20, 2012, 8:48:48 AM (12 years ago)
Author:
jmr@…
Message:

py*-workerpool: unify, add py26 and py27 (#36025)

Location:
trunk/dports/python
Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/python/py-workerpool/Portfile

    r83751 r98894  
    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
     1# -*- 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
    22# $Id$
    33
    44PortSystem          1.0
    5 PortGroup           python24 1.0
     5PortGroup           python 1.0
    66
    77name                py-workerpool
    88version             0.9.2
    9 categories          python
     9license             MIT
    1010maintainers         akitada
     11python.versions     24 25 26 27
    1112description         Module for distributing jobs to a pool of worker \
    1213                    threads.
     
    2829homepage            http://code.google.com/p/workerpool/
    2930platforms           darwin
     31supported_archs     noarch
    3032master_sites        http://workerpool.googlecode.com/files/ \
    3133                    http://pypi.python.org/packages/source/w/workerpool/
     
    3537                    rmd160 e7565d81be215d0c728ef7306efa3ebea0fafebd
    3638
    37 depends_build       port:py24-distribute
     39if {$subport != $name} {
     40    depends_build-append    port:py${python.version}-distribute
    3841
    39 post-destroot {
    40     xinstall -m 644 -W ${worksrcpath} CHANGES LICENSE README \
    41         ${destroot}${prefix}/share/doc/${name}
    42     eval copy [glob ${worksrcpath}/samples/*] \
    43         ${destroot}${prefix}/share/doc/${name}/examples
     42    post-destroot {
     43        xinstall -W ${worksrcpath} -m 644 CHANGES LICENSE README \
     44            ${destroot}${prefix}/share/doc/${subport}
     45        eval copy [glob ${worksrcpath}/samples/*] \
     46            ${destroot}${prefix}/share/doc/${subport}/examples
     47    }
    4448}
    45 
Note: See TracChangeset for help on using the changeset viewer.