# -*- 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 118725 2014-04-09 11:52:29Z stromnov@macports.org $

PortSystem          1.0
PortGroup           python 1.0

name                py-deap
version             1.0.1
revision            0
categories-append   devel
platforms           darwin
license             LGPL
supported_archs     noarch

python.versions     26 27 32 33 34

maintainers         stromnov openmaintainer

description         Distributed Evolutionary Algorithms in Python

long_description    DEAP stands for Distributed Evolutionary Algorithm \
                    in Python, it is dedicated to people who wish to learn \
                    how to use evolutionary algorithms and to those who wish \
                    to rediscover evolutionary algorithms.

homepage            http://deap.googlecode.com/
master_sites        http://pypi.python.org/packages/source/d/deap/

distname            deap-${version}

checksums           rmd160  e6807a35f8a7f537330f7c2b71d3fbc51fa10fee \
                    sha256  142ba4139b9d4adfab842b8d2192adf991d95998ccfb78f14155e3d2eed91fb2

if {${name} ne ${subport}} {
    livecheck.type      none
} else {
    livecheck.type      regex
    livecheck.url       ${master_sites}
    livecheck.regex     {deap-(\d+(?:\.\d+)*)\.[tz]}
}
