# -*- 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 set _name threadpool set _n [string index ${_name} 0] name py-${_name} version 1.3.2 categories-append net parallel platforms darwin supported_archs noarch license MIT maintainers petr openmaintainer description Easy to use object-oriented thread pool framework long_description \ A thread pool is an object that maintains a pool of worker threads to \ perform time consuming operations in parallel. It assigns jobs to the \ threads by putting them in a work request queue, where they are picked \ up by the next available thread. This then performs the requested \ operation in the background and puts the results in another queue. homepage http://chrisarndt.de/projects/${_name}/ use_bzip2 yes distname ${_name}-${version} master_sites http://chrisarndt.de/projects/${_name}/download/ \ https://pypi.python.org/packages/source/${_n}/${_name}/ checksums md5 343bd94fa32effcc9367d382323b4cb3 \ rmd160 ede7bc376bd2eec52c5798e13e93881434e6aaa2 \ sha256 cce4ef898b7eda686a6086facf33c9ac006d1809281db0030673d1647bfeefa4 python.versions 27 34 35 if {${name} ne ${subport}} { depends_build-append port:py${python.version}-setuptools # Adding documentation post-destroot { set dest_doc ${destroot}${prefix}/share/doc/${subport} xinstall -d ${dest_doc} eval xinstall -m 755 [ glob ${worksrcpath}/*.txt ] ${dest_doc} copy ${worksrcpath}/doc ${dest_doc}/html } livecheck.type none } else { livecheck.type regex livecheck.url https://pypi.python.org/pypi/${_name}/json livecheck.regex "\"${_name}-(\[.\\d\]+)\\${extract.suffix}\"" }