# -*- 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

PortSystem          1.0
PortGroup           python 1.0

name                py-hcluster
version             0.2.0
revision            1
platforms           darwin

maintainers         nomaintainer

description         This library provides Python functions for agglomerative clustering.
long_description    ${description} The interface is very similar to MATLAB's \
                    Statistics Toolbox API to make code easier to port from \
                    MATLAB to Python/Numpy. The core implementation of this \
                    library is in C for efficiency.

homepage            https://code.google.com/p/scipy-cluster/
master_sites        googlecode:scipy-cluster
distname            hcluster-${version}

checksums           md5 47b439d8892a70a0a79adb58bb1f6c5b \
                    sha1 b944e08d27258e360890ab475d0063d6db960dbd \
                    rmd160 ba90e20673db05d32850afb67b6aa12292039a54

python.versions     27

if {${name} ne ${subport}} {
    depends_lib-append  port:py${python.version}-numpy
    build.env           "CCFLAGS=-I${prefix}/include -L${prefix}/lib"
}