# -*- 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: Portfile 107889 2013-07-08 13:41:35Z stromnov@macports.org $

PortSystem          1.0
PortGroup           python 1.0

name                py-billiard
version             2.7.3.31
revision            0
categories-append   devel
platforms           darwin
license             BSD

python.versions     25 26 27 31 32 33

maintainers         stromnov openmaintainer

description         Python multiprocessing fork.
long_description    ${description}

homepage            http://github.com/ask/billiard
master_sites        http://pypi.python.org/packages/source/b/billiard/
distname            billiard-${version}

checksums           rmd160  2da2559937c545829559b4a2065abf20be315acc \
                    sha256  4e0f290d73a7fde7dbb0917e5a0542e454f0e0e459a27b2077d4782600acd4ae

if {$subport != $name} {
    depends_build-append \
                        port:py${python.version}-setuptools
    livecheck.type      none
} else {
    livecheck.type      regex
    livecheck.url       ${master_sites}
    livecheck.regex     "billiard-(\\d+(?:\\.\\d+)*)${extract.suffix}"
}
